Service SoapCalls lead to FD table is full errors

146 views
Skip to first unread message

Tobias Bauer

unread,
May 19, 2017, 9:22:34 AM5/19/17
to AdWords API Forum
Hi, 

we are retrieving data from AdWords using the API with googleads-php-lib. 

As we recently upgraded our System (Cent-OS 7) to PHP7.1 we encounter an error after a while if we make service calls: "Process open FD table is full".
I checked and it seems to be related to the SOAP calls made in the lib.

For example if we loop over an amount of customers and on each customer we call:
$service = (new AdWordsServices())->get($session, CampaignService::class);

the open FD counter increases which I checked by calling "lsof -p x | wc -l" on the process-id (x).
After some time the open FD table is full.

I tried to disable WSDL cache but no effect on this...
There seems to be problem with not closing file-descriptors within the soap calls...

Any idea how this could be fixed?

Regards,

Tobias

Shwetha Vastrad (AdWords API Team)

unread,
May 19, 2017, 11:27:27 AM5/19/17
to AdWords API Forum
Hi Tobias, 

Since this issue is specific to the Google Ads API PHP Client Library, I would suggest that you post your questions in the library's issue tracker so the library owners can help you out. 

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages