I have cron job that runs a PHP xmlrpc script that calls metaWeblog.newPost
in a loop, to make posts to a WordPress site. The posts get added successfully, until, after typically 40 or 50 posts, the script stop with this error:
transport error – HTTP status code was not 200
The error log contained this (I have removed the ip address):
(9)Bad file descriptor: [client :44726] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
When I check phpinfo
I see that Zend Memory Manager is enabled and memory_limit
is 64M.
What should I be looking at to solve this?
A one second delay did not fix it, and a two second delay fixed it most of the time. A three second delay fixed it.