Show Posts


Topics - rexdev

Pages: [1]
1
General Support / Many stalled php processes
« on: April 26, 2017, 07:05:37 PM »
I noticed today that whenever I went to go to login as a normal user, the script would stall forever. I thought it was just my internet, so I asked a coworker to login and she experienced the same thing: the script was stalling for over an hour till she gave up.

When I did a ps aux | grep php, here is what I saw


ami      31294  0.0  0.1 235660 19496 ?        S    16:51   0:00 /usr/bin/php /path/to/cart/index.php
ami      31305  0.0  0.1 237484 21564 ?        S    16:51   0:00 /usr/bin/php /path/to/cart/index.php
ami      31358  0.0  0.1 235656 19488 ?        S    16:52   0:00 /usr/bin/php /path/to/cart/index.php
ami      31427  0.0  0.1 235660 19504 ?        S    16:52   0:00 /usr/bin/php /path/to/cart/index.php
ami      31665  0.0  0.1 235660 19496 ?        S    16:53   0:00 /usr/bin/php /path/to/cart/index.php
ami      31754  0.0  0.1 237484 21560 ?        S    16:54   0:00 /usr/bin/php /path/to/cart/index.php
ami      31991  0.0  0.1 235656 19464 ?        S    16:55   0:00 /usr/bin/php /path/to/cart/index.php
ami      32025  0.0  0.1 235656 19468 ?        S    16:55   0:00 /usr/bin/php /path/to/cart/index.php
ami      32047  0.0  0.1 235656 19468 ?        S    16:55   0:00 /usr/bin/php /path/to/cart/index.php
ami      32086  0.0  0.1 235656 19464 ?        S    16:55   0:00 /usr/bin/php /path/to/cart/index.php
ami      32405  0.0  0.1 235656 19464 ?        S    16:57   0:00 /usr/bin/php /path/to/cart/index.php
ami      32486  0.0  0.1 235656 19464 ?        S    16:58   0:00 /usr/bin/php /path/to/cart/index.php
ami      32734 93.3  0.1 236956 21440 ?        R    16:59  52:47 /usr/bin/php /path/to/cart/index.php

There were around 50 or so process and this site is not public yet. Could this be why the login hangs?

This is on a dedicated server with 4 CPUs and 16 GBS of ram.

The current load average is 4.91 4.61 4.44 on a server that gets around half a million page views a month and has an average load average of 0.75

So has anyone had a similar problem before? I know I can just reboot the server and kill all those old processes, but how did they get there in the first place? Also, this is a cPanel server, if it matters :)

Thanks for all your help!

2
I finished installing abantecart, migrated my customers, products, and invoices from a prior website. The only two methods of payment I have instaleld are paypal_pp_standart and the default_cheque extensions. I've read the docs and filled in everything, but the check method of payment doesn't appear on checkout only the paypal method of payment does.

Here is the config values for the check order:

Order Status: Pending
Location: USA
Total Order Minimum:
Total Order Maximum:
Auto Select: OFF
Run Order: 1

Here are the config values for the default_pp_standart

Sandbox (Test) Mode: NO
Order Status: Complete
Transaction Method: Sale
Location: All Locations
Total Order Minimum:
Total Order Maximum:
Auto Select: Off
Run Order: 2

If anyone can help me understand how to get both methods of payment to show up on checkout that would be awesome!

Pages: [1]

Powered by SMFPacks Social Login Mod