|

memory leak. server down
Posted 02 April 2013 - 05:06 AM #1
CPU X-ON 3.3
RAM 8 GB
SSD 128GB
CS-CART 3.0.6 MULTI VENDOR
hello SOMETIMES happen again.................
also my db manager said memeory does not return well.
WEBSERVICE USE A LOT OF MEMORY
i think have some MEMORY LEAK HAPPEN. AND DOES NOT RETURN MEMORY AS WELL.
SOMEONE HELP ME?
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in /home/cncinc2/core/db/mysql.php on line 25
Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/cncinc2/core/db/mysql.php on line 57
Warning: mysql_errno() expects parameter 1 to be resource, boolean given in /home/cncinc2/core/db/mysql.php on line 61
Warning: mysql_errno() expects parameter 1 to be resource, boolean given in /home/cncinc2/core/db/mysql.php on line 61
Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/cncinc2/core/db/mysql.php on line 69
Warning: mysql_insert_id() expects parameter 1 to be resource, boolean given in /home/cncinc2/core/db/mysql.php on line 114
Warning: mysql_errno() expects parameter 1 to be resource, boolean given in /home/cncinc2/core/db/mysql.php on line 135
Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/cncinc2/core/db/mysql.php on line 57
Warning: mysql_errno() expects parameter 1 to be resource, boolean given in /home/cncinc2/core/db/mysql.php on line 61
Warning: mysql_errno() expects parameter 1 to be resource, boolean given in /home/cncinc2/core/db/mysql.php on line 61
Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/cncinc2/core/db/mysql.php on line 69
Warning: mysql_insert_id() expects parameter 1 to be resource, boolean given in /home/cncinc2/core/db/mysql.php on line 114
Warning: mysql_errno() expects parameter 1 to be resource, boolean given in /home/cncinc2/core/db/mysql.php on line 135
Posted 02 April 2013 - 05:13 AM #2
Posted 02 April 2013 - 05:23 AM #3
is it a VPS server? If you have a ssh access to your server, you can do a few checks:
Live memory & CPU usage
top -cd1
top -c
Top 10 Memory consuming process
ps axo %mem,comm,pid,euser | sort -nr | head -n 10
Top 10 CPU consuming process
ps axo pcpu,comm,pid,euser | sort -nr | head -n 10
Daily Process Log
/usr/local/cpanel/bin/dcpumonview
Buy CS-Cart License | CS-Cart Hosting
.
CS-Cart VPS SSD Cloud Hosting from $4,90/month *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider
Posted 02 April 2013 - 06:31 AM #5
thanks so much guys i will report it soon to here
and i make scrren for now server situation-----------dedicate server
and this is history before................................
Mon Mar 25 18:16:32 2013] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread
[Mon Mar 25 18:16:32 2013] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread
[Mon Mar 25 22:23:48 2013] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread
[Mon Mar 25 22:23:48 2013] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread
*** glibc detected *** /server/httpd/bin/httpd: corrupted double-linked list: 0x00007fbcf00fe180 ***
*** glibc detected *** /server/httpd/bin/httpd: corrupted double-linked list: 0x00007fbcf01263c0 ***
======= Backtrace: =========
======= Backtrace: =========
/lib64/libc.so.6[0x35a2875916]
/lib64/libc.so.6[0x35a2875916]
/lib64/libc.so.6[0x35a2875d9d]
/lib64/libc.so.6[0x35a2875d9d]
/lib64/libc.so.6[0x35a28783d8]
/lib64/libc.so.6[0x35a28783d8]
/server/httpd/modules/libphp5.so(tsrm_shutdown+0xb7)[0x7fbcfececad7]
/server/httpd/modules/libphp5.so(tsrm_shutdown+0xb7)[0x7fbcfececad7]
/server/httpd/modules/libphp5.so(+0x4a06b6)[0x7fbcfede56b6]
/server/httpd/modules/libphp5.so(+0x4a06b6)[0x7fbcfede56b6]
/server/httpd/lib/libapr-1.so.0(apr_pool_destroy+0x7e)[0x7fbd05ed01ee]
/server/httpd/lib/libapr-1.so.0(apr_pool_destroy+0x7e)[0x7fbd05ed01ee]
/server/httpd/bin/httpd[0x44bc1e]
/server/httpd/bin/httpd[0x44bc1e]
/server/httpd/bin/httpd[0x44c45f]
/server/httpd/bin/httpd[0x44c45f]
/lib64/libpthread.so.0[0x35a2c07851]
/lib64/libpthread.so.0[0x35a2c07851]
/lib64/libc.so.6(clone+0x6d)[0x35a28e811d]
/lib64/libc.so.6(clone+0x6d)[0x35a28e811d]
======= Memory map: ========
======= Memory map: ========
Posted 02 April 2013 - 06:38 AM #6
Resource temporarily unavailable: apr_thread_create: unable to create worker thread
The Apache settings are not well configured. PM me, I will have a look into this.
Buy CS-Cart License | CS-Cart Hosting
.
CS-Cart VPS SSD Cloud Hosting from $4,90/month *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider
Posted 02 April 2013 - 08:28 AM #7
Buy CS-Cart License | CS-Cart Hosting
.
CS-Cart VPS SSD Cloud Hosting from $4,90/month *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider