OpenVZ Forum


Home » General » Support » ve with cpanel is not stable
ve with cpanel is not stable [message #21016] Sun, 30 September 2007 13:50 Go to next message
null is currently offline  null
Messages: 15
Registered: August 2007
Junior Member
hi
i have some problem with ve's i installed cpanel on them!!
about 2 day after ve restart some of vps servicess dont working correct and i get 404 error when i have to login to cpanel/whm
when i reboot the ve all go up and cpanel working well

is there any reason for this? is this a ram ? ve have 512mb of ram and 50% of a pentium D 2.8 cpu!
TNX Smile
Re: ve with cpanel is not stable [message #21098 is a reply to message #21016] Mon, 01 October 2007 18:23 Go to previous messageGo to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
Can you be more specific about the problem? Any UBC failcnts?

Apache 404 error is unlikely to be an openvz related problem, have you checked apache's log files?

Overall, it sounds like application level problems and you should start troubleshooting the system by analyzing the syslog files as you duplicate the problems.

Rick


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Re: ve with cpanel is not stable [message #21101 is a reply to message #21098] Mon, 01 October 2007 19:17 Go to previous messageGo to next message
null is currently offline  null
Messages: 15
Registered: August 2007
Junior Member
TNX
i got this error when i had to login to ve:

login as: root
root@<IP>'s password:
Last login: Mon Oct 1 22:30:35 2007 from <IP>
-bash: cannot make pipe for command substitution: Too many open files in system
-bash: [: =: unary operator expected
-bash: pipe error: Too many open files in system
-bash-3.00# ls
-bash: start_pipeline: pgrp pipe: Too many open files in system
-bash: /bin/ls: Too many open files in system
-bash-3.00#
Re: ve with cpanel is not stable [message #21102 is a reply to message #21101] Mon, 01 October 2007 19:19 Go to previous messageGo to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
UBC Failures?

always the first thing to check whenever there is a problem.



-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Re: ve with cpanel is not stable [message #21103 is a reply to message #21016] Mon, 01 October 2007 20:01 Go to previous messageGo to next message
null is currently offline  null
Messages: 15
Registered: August 2007
Junior Member
this is the setting of ve's
debian:~# vzctl exec 102 cat /proc/user_beancounters
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
      102:  kmemsize        5002527    6400552    6400000    6400000      18052
            lockedpages           0          8         32         32          0
            privvmpages       75128     131072     131072     131072         25
            shmpages            731       1739       8192       8192          0
            dummy                 0          0          0          0          0
            numproc              70         94        350        350          0
            physpages         38184      93061          0 2147483647          0
            vmguarpages           0          0      65536      65536          0
            oomguarpages      38184      93061      65536      65536          0
            numtcpsock           28         53         80         80        103
            numflock              9         14        100        110          0
            numpty                1          2         16         16          0
            numsiginfo            0         52        256        256          0
            tcpsndbuf          2220     246420     319488     524288         29
            tcprcvbuf             0     134508     540000     540000       1176
            othersockbuf      17760     135464     132096     336896       4165
            dgramrcvbuf           0      17100     150000     150000          0
            numothersock         22         51         80         80          0
            dcachesize       336076     386094    1048576    1097728          0
            numfile            1883       2048       2048       2048     205047
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            10         43        128        128          0



Re: ve with cpanel is not stable [message #21111 is a reply to message #21103] Tue, 02 October 2007 05:07 Go to previous messageGo to next message
Mr.Ash is currently offline  Mr.Ash
Messages: 42
Registered: September 2007
Member
hey when this probles happen u see this error in shell of vps

'' fork Cannot Allocate Memory ''

Re: ve with cpanel is not stable [message #21114 is a reply to message #21111] Tue, 02 October 2007 08:28 Go to previous messageGo to next message
null is currently offline  null
Messages: 15
Registered: August 2007
Junior Member
nope..
i got this error : Too many open files in system.

but ve used about 300mb of memory!!
the memory of this ve is 256 and brust is 512...
Re: ve with cpanel is not stable [message #21116 is a reply to message #21114] Tue, 02 October 2007 08:30 Go to previous messageGo to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
files != memory

from the UBC report you posted:

numfile 1883 2048 2048 2048 205047

Rick


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Re: ve with cpanel is not stable [message #21117 is a reply to message #21116] Tue, 02 October 2007 08:45 Go to previous messageGo to next message
null is currently offline  null
Messages: 15
Registered: August 2007
Junior Member
how can i calculation best numfile no. for ve!?
at the other hand how much is good for a ve with 256 mb of ram and cpanel!

thanks
Re: ve with cpanel is not stable [message #21119 is a reply to message #21117] Tue, 02 October 2007 09:00 Go to previous messageGo to next message
Mr.Ash is currently offline  Mr.Ash
Messages: 42
Registered: September 2007
Member
you can check via


vzcfgvalidate /etc/sysconfig/vz-scripts/vzid.conf
Re: ve with cpanel is not stable [message #21156 is a reply to message #21016] Tue, 02 October 2007 16:42 Go to previous messageGo to next message
null is currently offline  null
Messages: 15
Registered: August 2007
Junior Member
i do that :

debian:~# vzcfgvalidate /etc/vz/conf/102.conf
Warning: dcachesize.lim should be > 3145728 (currently, 1097728)


and UBC Failures:


debian:~# vzctl exec 102 cat /proc/user_beancounters
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
      102:  kmemsize        4098297    6400739   14790793   15569256      19797
            lockedpages           0          8         32         32          0
            privvmpages       57297     131072     131072     131072         25
            shmpages             91       1739       8192       8192          0
            dummy                 0          0          0          0          0
            numproc              56         94        350        350          0
            physpages         40374      93061          0 2147483647          0
            vmguarpages           0          0      65536 2147483647          0
            oomguarpages      40374      93061      65536 2147483647          0
            numtcpsock           25         63         80         80        103
            numflock              6         14  999999999  999999999          0
            numpty                0          2         16         16          0
            numsiginfo            0         78        256        256          0
            tcpsndbuf             0     254112     319488     524288         29
            tcprcvbuf             0     134508     540000     744800       1176
            othersockbuf      19552     135464     132096     336896       4176
            dgramrcvbuf           0      26676     150000     150000          0
            numothersock         20         51         80         80          0
            dcachesize       255148     432458    1048576    1097728          0
            numfile            1535       2048       8192       8192     210078
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            10         43        128        128          0




i optimized the mysql too.
now cpanel dont working.
browser cant find the address: <IP>/whm
when i run the command :
service cpanel restart

all come online again!!

i reinstalled the cpanel but it dont helped!!
Re: ve with cpanel is not stable [message #21175 is a reply to message #21016] Wed, 03 October 2007 01:46 Go to previous message
Mr.Ash is currently offline  Mr.Ash
Messages: 42
Registered: September 2007
Member
debian:~# vzcfgvalidate /etc/vz/conf/102.conf
Warning: dcachesize.lim should be > 3145728 (currently, 1097728)


nano /etc/sysconfig/vz-scripts/vzid.conf

change -- dcachesize --

DCACHESIZE="3145728:3145728"


then save

and type it again

vzcfgvalidate /etc/vz/conf/102.conf

Previous Topic: venet bridge dont work[CentOS]
Next Topic: Openvz roadmap :: -> CFS process scheduler
Goto Forum:
  


Current Time: Tue Oct 08 18:57:10 GMT 2024

Total time taken to generate the page: 0.09697 seconds