Hi, i have an Android application which gets its responses from api.php file. So if any user open the app all the required information will be loaded from api.php file. Usually my app has 60-100 online users anytime. and data in the app loads very fast for any number of random users. From the following picture you can see my WaitQ is always zero and req/sec stays around 1. And my server CPU stays around 6% usage.
I use onesignal for push notifications. If i push any notification i get around 400-500 online users. This is where i get trouble. After push notification, all figures gets filled with some WaitQ, and CPU usage slightly increase to 10%.
Thats it. My app gets absolutely zero response until WaitQ is cleared. And all remaining sites in server works fine. Only this app account goes down.
I wonder something has to do with my LSPHP configuration to handle all 400 users who are requesting api.php simultaneously. Below is my LSPHP configuration.
I desperately need an expert advice to overcome this issue. Do increasing max connections help?
I use onesignal for push notifications. If i push any notification i get around 400-500 online users. This is where i get trouble. After push notification, all figures gets filled with some WaitQ, and CPU usage slightly increase to 10%.
Thats it. My app gets absolutely zero response until WaitQ is cleared. And all remaining sites in server works fine. Only this app account goes down.
I wonder something has to do with my LSPHP configuration to handle all 400 users who are requesting api.php simultaneously. Below is my LSPHP configuration.
I desperately need an expert advice to overcome this issue. Do increasing max connections help?