"timeout" in json-api/listaccts on several servers

Operating System & Version
CloudLinux 7
cPanel & WHM Version
11.92.0

Berenger Z

Member
Dec 8, 2017
10
1
3
Montreal
cPanel Access Level
Root Administrator
Hi!
We have an issue with json-api/listaccts not sending any reply on a couple of servers we manage with the WHM API, and I do not know where to start looking for debug info. I ended up letting it run for 400+ seconds without any data sent, while other servers send results under 1-2 seconds.

I see the incoming call in api_tokens_log, and no error gets logged into /usr/local/cpanel/logs/error_log. Is there a specific error_log for API calls?

Our hosted websites work perfectly, and no issue seem to be seen within WHM/cPanel through the browser. Load is around 2.x, so not an overwhelmed server.
Other endpoints such as create_user_session also work and respond within milliseconds.

Any help appreciated!
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
Hey there! Any API errors would also be logged to the main cPanel error log on the system, so it is odd that things are not showing up there. Is the call just running, but never actually doing anything?

For this type of issue it may be best to submit a ticket with our team so we can examine the server in real-time and see if we can catch anything while the issue is happening.
 

Berenger Z

Member
Dec 8, 2017
10
1
3
Montreal
cPanel Access Level
Root Administrator
I'll see to do that.
I see the process in top, taking around 1% CPU, 0.1% memory, and never exiting. So it's there, doing something, but no error in the logs. Just spinning.
Going to ask our sysadmin to open a ticket. Thanks!