OpenVZ Forum


Home » General » Support » Samba problem - Centos 4.3 - samba 3.0.10-1.4E.6
Samba problem - Centos 4.3 - samba 3.0.10-1.4E.6 [message #3588] Tue, 06 June 2006 10:53 Go to next message
miroslawgon is currently offline  miroslawgon
Messages: 16
Registered: April 2006
Junior Member
Hi, I have problem with samba inside vps.

VPS is running Samba version 3.0.10-1.4E.6 (CentOS 4.3 template) working as PDC.
Everything was working fine for about month but today I noticed that there is an error in /proc/user_beancounters. The problem is that restarting VPS or samba doesn't change anything the failcnt value stays the same (I increased numflock about x0.5). The strange thing is that file sharing and domain logins are working fine, nobody complains for now.
What is the safe value for this parameter?
Does anybody had similar problem with samba?



/proc/user_beancounters:

       uid  resource           held    maxheld    barrier      limit    failcnt
      1100: kmemsize        1032726    1795956   16910008   18601008          0
            lockedpages           0          0        825        825          0
            privvmpages        7942      17696     310620     341682          0
            shmpages              0          0      31062      31062          0
            dummy                 0          0          0          0          0
            numproc              18         30        800        800          0
            physpages          3453       8562          0 2147483647          0
            vmguarpages           0          0     310620 2147483647          0
            oomguarpages       3459       8782     310620 2147483647          0
            numtcpsock           13         27        800        800          0
 --->       numflock             23        659        959       1024      34780 <---
            numpty                1          1         80         80          0
            numsiginfo            0         19       1024       1024          0
            tcpsndbuf         22280     106944    2359869    5636669          0
            tcprcvbuf             0     501496    2359869    5636669          0
            othersockbuf      31192      61360    1179934    4456734          0
            dgramrcvbuf           0     260172    1179934    1179934          0
            numothersock         14         29        800        800          0
            dcachesize        98941     333264    3686400    3796992          0
            numfile             337        804       6592       6592          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            10         10        200        200          0

kernel 2.6.8-022stab076-smp
my hardware node:


       uid  resource           held    maxheld    barrier      limit    failcnt
         0: kmemsize        3662710    5431485 2147483647 2147483647          0
            lockedpages        1096       2605 2147483647 2147483647          0
            privvmpages        7735      25354 2147483647 2147483647          0
            shmpages            676       3252 2147483647 2147483647          0
            dummy                 0          0 2147483647 2147483647          0
            numproc             100        138 2147483647 2147483647          0
            physpages          3716      16927 2147483647 2147483647          0
            vmguarpages           0          0 2147483647 2147483647          0
            oomguarpages       4250      17123 2147483647 2147483647          0
            numtcpsock           34         41 2147483647 2147483647          0
            numflock              2          6 2147483647 2147483647          0
            numpty                1          5 2147483647 2147483647          0
            numsiginfo            0         18 2147483647 2147483647          0
            tcpsndbuf         55700      95804 2147483647 2147483647          0
            tcprcvbuf             0     389116 2147483647 2147483647          0
            othersockbuf      42332     303200 2147483647 2147483647          0
            dgramrcvbuf           0      89796 2147483647 2147483647          0
            numothersock         40         59 2147483647 2147483647          0
            dcachesize      1370138    1434426 2147483647 2147483647          0
            numfile             367        647 2147483647 2147483647          0
            dummy                 0          0 2147483647 2147483647          0
            dummy                 0          0 2147483647 2147483647          0
            dummy                 0          0 2147483647 2147483647          0
            numiptent            10         10 2147483647 2147483647          0

[Updated on: Tue, 06 June 2006 11:20] by Moderator

Report message to a moderator

Re: Samba problem - Centos 4.3 - samba 3.0.10-1.4E.6 [message #3589 is a reply to message #3588] Tue, 06 June 2006 11:26 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

The fails probably happened before you increased the numflock parameter, as maxheld value is way below barrier.

If you really want to reset failcnts, you need to stop your VE for about five minutes:
vzctl stop VEID; sleep 5m; vzctl start VEID


If that doesn't help, you have to reboot the Hardware node in order to reset beancounters.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: More on debian hardware node crashes.
Next Topic: Where is the Source Code tar balls?
Goto Forum:
  


Current Time: Mon Nov 11 14:39:29 GMT 2024

Total time taken to generate the page: 0.03586 seconds