Page 1 of 1

Vps shutdown

Posted: 18 Apr 2014, 02:26
by alouty
My vps always shutdown and I received many alert like below:

Time: Thu Apr 17 23:39:47 2014 +0800
Account: bestjob
Process Count: 45 (Killed)

Process Information:

User:bestjob PID:725 PPID:22011 Run Time:260(secs) Memory:175488(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/jobsbay/admin/index.php
User:bestjob PID:2995 PPID:30373 Run Time:62(secs) Memory:161788(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:2996 PPID:22010 Run Time:60(secs) Memory:161124(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:2998 PPID:22016 Run Time:58(secs) Memory:161016(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:2999 PPID:2915 Run Time:58(secs) Memory:161016(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3001 PPID:30361 Run Time:57(secs) Memory:161644(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3002 PPID:30360 Run Time:57(secs) Memory:162600(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3012 PPID:22013 Run Time:55(secs) Memory:162596(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3017 PPID:3005 Run Time:54(secs) Memory:161336(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3018 PPID:3006 Run Time:52(secs) Memory:162428(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3021 PPID:3009 Run Time:51(secs) Memory:163180(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3024 PPID:3010 Run Time:51(secs) Memory:161032(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3029 PPID:3011 Run Time:48(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3030 PPID:22012 Run Time:48(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3031 PPID:3026 Run Time:48(secs) Memory:157524(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3035 PPID:3027 Run Time:46(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3036 PPID:3028 Run Time:46(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3041 PPID:3032 Run Time:43(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3042 PPID:3033 Run Time:43(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3043 PPID:3034 Run Time:39(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3044 PPID:3037 Run Time:38(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3045 PPID:3038 Run Time:38(secs) Memory:157756(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3049 PPID:3039 Run Time:36(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3050 PPID:3040 Run Time:36(secs) Memory:157768(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3056 PPID:23876 Run Time:34(secs) Memory:157524(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3065 PPID:3047 Run Time:33(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3066 PPID:3046 Run Time:33(secs) Memory:157756(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3072 PPID:3051 Run Time:31(secs) Memory:157768(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3073 PPID:3048 Run Time:31(secs) Memory:157756(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3076 PPID:3054 Run Time:30(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3077 PPID:3052 Run Time:30(secs) Memory:157524(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3078 PPID:3053 Run Time:29(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3085 PPID:3071 Run Time:29(secs) Memory:157768(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3087 PPID:3074 Run Time:28(secs) Memory:157768(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3088 PPID:3075 Run Time:27(secs) Memory:157768(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3090 PPID:3080 Run Time:25(secs) Memory:157756(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3093 PPID:3082 Run Time:25(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3103 PPID:3081 Run Time:22(secs) Memory:157756(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3104 PPID:3079 Run Time:22(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3106 PPID:3089 Run Time:22(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3107 PPID:3091 Run Time:21(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3110 PPID:3092 Run Time:21(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3111 PPID:3105 Run Time:21(secs) Memory:157756(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3118 PPID:3109 Run Time:18(secs) Memory:157500(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php
User:bestjob PID:3122 PPID:3114 Run Time:15(secs) Memory:157756(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/bestjob/public_html/index.php

Re: Vps shutdown

Posted: 19 Apr 2014, 17:07
by Sergio
What is the memory on your VPS? it seems that you have less than 1GB and that process is taking all your memory

Set your CSF to block any process that uses more than 128MB with:
PT_USERMEM
PT_USERTIME
PT_USERKILL