• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

CPU usage up to 100% while executing auth.php3

HarryBleckert

Basic Pleskian
I am using panel version 10.3.1 on Ubuntu 10 linux.

I have a problem mit CPU usage. Up to 100% as shown by top is used this program:
/usr/bin/sw-engine-cgi -c /opt/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm

I found auth3.php located in /opt/psa/admin/auto_prepend/auth.php3.

This is a sample ps result:
ps axuw|grep sw-engine-cgi
psaadm 7516 1.0 0.7 239580 15140 ? Ss 03:44 0:00 /usr/bin/sw-engine-cgi -c /opt/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
psaadm 7564 1.8 1.1 251708 23140 ? S 03:44 0:00 /usr/bin/sw-engine-cgi -c /opt/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
psaadm 7565 9.2 2.5 262116 52748 ? S 03:44 0:01 /usr/bin/sw-engine-cgi -c /opt/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
psaadm 7566 89.2 2.8 271612 58992 ? R 03:44 0:11 /usr/bin/sw-engine-cgi -c /opt/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm


And in /var/log/sw-cp-server/error_log I found lots of these lines:
2011-08-14 04:04:39: (connections.c.299) SSL: 1 error:140940E5:SSL routines:SSL3_READ_BYTES:ssl handshake failure
all children busy, launch additional (total 3, limit 30)


I do have a verified SSL cert from Startcom installed. Works fine with my test domain hivetec.net.


Only shop pages cause the problem. They open very slow, up to 1 minute.
They cause this program to get stuck and eat all the cpu power:
"/usr/bin/sw-engine-cgi -c /opt/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm"

Please see here:
https://hivetec.net:8443/store/

Anybody else seeing the same problem?
Does Igor know the answer?
 
Last edited:
bug tracing template information

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Panel-Version 10.3.1
BS Linux 2.6.38.2-xxxx-std-ipv6-64 x86_64 GNU/Linux Ubuntu 10.04.3 LTS
Hostname hivetec.net
IP-Adresse 46.105.120.159

PROBLEM DESCRIPTION AND STEPS TO REPRODUCE
All shop pages via :8443/store/ open very slow, up to 1 minute.

ACTUAL RESULT
Please see here: https://hivetec.net:8443/store/
ps shows that the page requests cause this program to get stuck and eat all the cpu power:
"/usr/bin/sw-engine-cgi -c /opt/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm"


EXPECTED RESULT
open pages at reasonable speed and without using 100% CPU for a single page request!!!


ANY ADDITIONAL INFORMATION
Up to 100% shown with top by this program:
/usr/bin/sw-engine-cgi -c /opt/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm

I found auth3.php located in /opt/psa/admin/auto_prepend/auth.php3.

This is a sample ps result:
ps axuw|grep sw-engine-cgi
psaadm 7516 1.0 0.7 239580 15140 ? Ss 03:44 0:00 /usr/bin/sw-engine-cgi -c /opt/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
psaadm 7564 1.8 1.1 251708 23140 ? S 03:44 0:00 /usr/bin/sw-engine-cgi -c /opt/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
psaadm 7565 9.2 2.5 262116 52748 ? S 03:44 0:01 /usr/bin/sw-engine-cgi -c /opt/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
psaadm 7566 89.2 2.8 271612 58992 ? R 03:44 0:11 /usr/bin/sw-engine-cgi -c /opt/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm

And in /var/log/sw-cp-server/error_log I found lots of these lines:
2011-08-14 04:04:39: (connections.c.299) SSL: 1 error:140940E5:SSL routines:SSL3_READ_BYTES:ssl handshake failure
all children busy, launch additional (total 3, limit 30)

I do have a verified SSL cert from Startcom installed. Works fine with my test domain at https://hivetec.net.
 
Problem unsolved - No timely reply from Plesk!

Anybody else seeing the same problem?
Does Igor know the answer?

Lucky me that I am only testing Plesk. Unlucky those who pay for Plesk, rely on it and be left alone with the bugs they encounter...

Please Plesk support, please infamous Igor:
Reply to this thread and offer a solution or further problem analysis!
 
Last edited:
Back
Top