Problem Installing Lighttpd,PHP5,MySQL in VPS

Discussion in 'Installation/Configuration' started by swap-as, Sep 30, 2009.

  1. swap-as

    swap-as New Member

    Problem, I geting error when installing Lighttpd With PHP5 And MySQL Support On Debian Lenny by falco http://www.howtoforge.com/installing-lighttpd-with-php5-and-mysql-support-on-debian-lenny

    I geting this error:
    TORNADO:~# vzctl exec 201 cat /proc/user_beancounters
    Version: 2.5
    uid resource held maxheld barrier limit failcnt
    201: kmemsize 2908195 3710593 11055923 11377049 0
    lockedpages 0 8 256 256 0
    privvmpages 61135 66175 65536 69632 1
    shmpages 0 656 21504 21504 0
    dummy 0 0 0 0 0
    numproc 33 49 240 240 0
    physpages 10620 21227 0 2147483647 0
    vmguarpages 0 0 33792 2147483647 0
    oomguarpages 10620 21227 26112 2147483647 0
    numtcpsock 7 12 360 360 0
    numflock 5 11 188 206 0
    numpty 0 2 16 16 0
    numsiginfo 0 7 256 256 0
    tcpsndbuf 62720 116480 1720320 2703360 0
    tcprcvbuf 114688 524352 1720320 2703360 0
    othersockbuf 4480 88832 1126080 2097152 0
    dgramrcvbuf 0 4288 262144 262144 0
    numothersock 15 22 360 360 0
    dcachesize 217105 229705 3409920 3624960 0
    numfile 1004 1088 9312 9312 0
    dummy 0 0 0 0 0
    dummy 0 0 0 0 0
    dummy 0 0 0 0 0
    numiptent 10 10 128 128 0

    Please help how to fix this problem.
    Thanks
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Please adjust the privvmpages setting in the vm configuration file on the OpenVZ host and restart the vm.
     
  3. swap-as

    swap-as New Member

    Can You tell me what parameters I need to set. What numbers mast be set?
    Or maybe You can tell me what command I need to type in command line to set properly privvmpages setting. Thanks ;)

    P.S. And why in base config is set so low parameters?


    Running Processes for 201
    User PID %CPU %MEM VSZ RSS Stat Start Time Command
    root 1 0.0 0.2 1980 692 Ss 12:39 0:00 init
    daemon 222 0.0 0.1 1764 500 Ss 12:39 0:00 /sbin/portmap
    root 294 0.0 0.4 26988 1236 Sl 12:39 0:00 /usr/sbin/rsyslogd
    root 303 0.0 0.3 5272 1000 Ss 12:39 0:00 /usr/sbin/sshd
    root 341 0.0 0.4 2696 1304 S 12:39 0:00 /bin/sh
    mysql 380 0.0 6.3 127324 16768 Sl 12:39 0:00 /usr/sbin/mysqld
    root 382 0.0 0.2 1628 532 S 12:39 0:00 logger
    103 720 0.0 0.3 6108 908 Ss 12:39 0:00 /usr/sbin/exim4
    www-data 731 0.0 0.4 5460 1068 S 12:39 0:00 /usr/sbin/lighttpd
    www-data 733 0.0 4.1 42620 10804 Ss 12:39 0:00 /usr/bin/php-cgi
    www-data 736 0.0 0.0 0 0 Zs 12:39 0:00 [php-cgi]
    root 737 0.0 0.1 3136 508 Ss 12:39 0:00 /usr/sbin/famd
    root 752 0.0 0.3 2036 876 Ss 12:39 0:00 /usr/sbin/cron
    www-data 766 0.0 1.4 42620 3740 S 12:39 0:00 /usr/bin/php-cgi
    www-data 767 0.0 1.4 42620 3740 S 12:39 0:00 /usr/bin/php-cgi
    www-data 768 0.0 1.4 42620 3740 S 12:39 0:00 /usr/bin/php-cgi
    www-data 769 0.0 1.4 42620 3740 S 12:39 0:00 /usr/bin/php-cgi
    www-data 770 0.0 1.4 42620 3740 S 12:39 0:00 /usr/bin/php-cgi
    www-data 771 0.0 1.4 42620 3740 S 12:39 0:00 /usr/bin/php-cgi
    www-data 772 0.0 1.4 42620 3740 S 12:39 0:00 /usr/bin/php-cgi
    root 774 0.0 0.3 2296 900 Rs 12:46 0:00 ps

    All Rights Reserved © Shuaib Zahda 2008
     
    Last edited: Oct 3, 2009
  4. falko

    falko Super Moderator ISPConfig Developer

Share This Page