OpenVZ Forum


Home » General » Support » Strange problem with lockedpages limits
icon5.gif  Strange problem with lockedpages limits [message #41305] Sun, 26 December 2010 18:18 Go to next message
kamistral is currently offline  kamistral
Messages: 3
Registered: December 2010
Location: Austria
Junior Member

Since a few months it happens sometimes that the failcount increases without hitting the soft or hard limit:

       uid  resource                     held              maxheld              barrier                limit              failcnt

      104:  lockedpages                     0                  948                 1536                 1536                    8
      103:  lockedpages                     0                  966                 1536                 1536                    3

I'm using Debian 5.0.7 with Kernel linux-image-2.6.26-2-openvz-amd64, the containers with the mentioned problems have both running varnish 2.1, one with lighttpd behind, one with tomcat.

I really searched the forums, mailing lists and more but didn't find anything useful regarding this, any ideas? Smile
Re: Strange problem with lockedpages limits [message #41316 is a reply to message #41305] Thu, 30 December 2010 01:16 Go to previous messageGo to next message
jakob is currently offline  jakob
Messages: 19
Registered: June 2008
Junior Member
Looks like something tries to lock a large number of pages at once and would exceed the limit by that. The whole operation fails of course, so failcnt increases, but maxheld stays the same.

1536 is quite low - I'd just double that at least.
Re: Strange problem with lockedpages limits [message #41321 is a reply to message #41316] Thu, 30 December 2010 10:20 Go to previous messageGo to next message
kamistral is currently offline  kamistral
Messages: 3
Registered: December 2010
Location: Austria
Junior Member

jarg wrote on Wed, 29 December 2010 20:16
Looks like something tries to lock a large number of pages at once and would exceed the limit by that. The whole operation fails of course, so failcnt increases, but maxheld stays the same.

Thanks, that didn't came into my mind Smile

Quote:
1536 is quite low - I'd just double that at least.

I've set them to 15360:15360 and I'll keep watching the failcnt numbers.
Re: Strange problem with lockedpages limits [message #41322 is a reply to message #41316] Thu, 30 December 2010 10:24 Go to previous message
kamistral is currently offline  kamistral
Messages: 3
Registered: December 2010
Location: Austria
Junior Member

jarg wrote on Thu, 30 December 2010 02:16
Looks like something tries to lock a large number of pages at once and would exceed the limit by that. The whole operation fails of course, so failcnt increases, but maxheld stays the same.

Thanks, that didn't came into my mind Smile

Quote:
1536 is quite low - I'd just double that at least.

I've set them to 15360:15360 for now, and I'll keep an eye on the failcnt numbers - could take some weeks to get results, it only happend sometimes (the last days the failcnt didn't increase).
Previous Topic: CPU limiting
Next Topic: Virtual ethernet device wiki
Goto Forum:
  


Current Time: Thu Jul 03 06:29:53 GMT 2025

Total time taken to generate the page: 0.03338 seconds