Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue Jun 25, 2019 4:44 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Out Of Resources Error
PostPosted: Thu Jan 10, 2019 12:54 pm 
Offline
Cacti User

Joined: Mon Oct 03, 2005 1:34 pm
Posts: 82
Location: STL
I have been seeing this message randomly since upgrading to spine 1.2.0 x64. Previously 1.3.5 x64.

2019/01/10 11:40:23 - SPINE: Poller[Main Poller] ERROR: SS[3] Could not fork PHP Script Server
2019/01/10 11:40:23 - SPINE: Poller[Main Poller] ERROR: SS[3] Could not fork PHP Script Server Unknown Reason
2019/01/10 11:40:23 - SPINE: Poller[Main Poller] ERROR: SS[3] Could not fork PHP Script Server Out of Memory
2019/01/10 11:40:23 - SPINE: Poller[Main Poller] ERROR: SS[3] Could not fork PHP Script Server Out of Resources
2019/01/10 11:40:23 - SPINE: Poller[Main Poller] ERROR: SS[1] Could not fork PHP Script Server
2019/01/10 11:40:23 - SPINE: Poller[Main Poller] ERROR: SS[1] Could not fork PHP Script Server Unknown Reason
2019/01/10 11:40:23 - SPINE: Poller[Main Poller] ERROR: SS[1] Could not fork PHP Script Server Out of Memory
2019/01/10 11:40:23 - SPINE: Poller[Main Poller] ERROR: SS[1] Could not fork PHP Script Server Out of Resources


You would think this is as simple as a resource problem but when I look at task manager it claims only 1.9/6.5gb memory in use. I have increased the php.ini memory_Limit to 2048M and still see the error. Server is 2016 running PHP 7.2.13 w/a single processor assigned to it.


Top
 Profile  
 
 Post subject: Re: Out Of Resources Error
PostPosted: Thu Jan 10, 2019 6:05 pm 
Offline
Cacti Pro User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 753
Edit php.ini and increase the memory_limit to 500MB.

_________________
Before history, there was a paradise, now dust.


Top
 Profile  
 
 Post subject: Re: Out Of Resources Error
PostPosted: Fri Jan 11, 2019 7:35 am 
Offline
Cacti User

Joined: Mon Oct 03, 2005 1:34 pm
Posts: 82
Location: STL
I have tried 500, 1024, 2048 with no luck. I even disabled most graphs so it was monitoring a fraction of the 96 devices I have and still randomly see the error.


Top
 Profile  
 
 Post subject: Re: Out Of Resources Error
PostPosted: Fri Jan 11, 2019 1:59 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2523
Is this on Windows?

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Out Of Resources Error
PostPosted: Fri Jan 11, 2019 2:36 pm 
Offline
Cacti User

Joined: Mon Oct 03, 2005 1:34 pm
Posts: 82
Location: STL
Yes Server 2016, problem started with spine 1.2 but I think I had previously seen it on other versions as I had held unto 1.1.35 for quite awhile. I have played with the thread/process count up/down and it still randomly errors out. Also tried multiple php versions in 7.0 .1 and .2 releases.


Top
 Profile  
 
 Post subject: Re: Out Of Resources Error
PostPosted: Fri Jan 11, 2019 3:29 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2523
1.2 is really the first version to be compatible with PHP 7.2. Have you anything in your log files?

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Out Of Resources Error
PostPosted: Fri Jan 11, 2019 5:05 pm 
Offline
Cacti User

Joined: Mon Oct 03, 2005 1:34 pm
Posts: 82
Location: STL
PHP error log complains about something in thold, but w/thold disabled my main errors persists.



2019/01/11 16:01:51 - SPINE: Poller[Main Poller] ERROR: SS[3] PHP Script Server communications lost. Restarting PHP Script Server
2019/01/11 16:01:51 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server
2019/01/11 16:01:51 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Unknown Reason
2019/01/11 16:01:51 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Memory
2019/01/11 16:01:51 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Resources
2019/01/11 16:01:51 - SPINE: Poller[Main Poller] ERROR: SS[3] PHP Script Server communications lost. Restarting PHP Script Server
2019/01/11 16:01:51 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server
2019/01/11 16:01:51 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Unknown Reason
2019/01/11 16:01:51 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Memory
2019/01/11 16:01:51 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Resources
2019/01/11 16:01:51 - SPINE: Poller[Main Poller] ERROR: SS[3] PHP Script Server communications lost. Restarting PHP Script Server
2019/01/11 16:01:51 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server


Top
 Profile  
 
 Post subject: Re: Out Of Resources Error
PostPosted: Fri Jan 11, 2019 10:46 pm 
Offline
Cacti Moderator
User avatar

Joined: Sat May 08, 2004 12:44 pm
Posts: 12160
Location: USA
...and your OS is not running low on memory?

_________________

| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |


Top
 Profile  
 
 Post subject: Re: Out Of Resources Error
PostPosted: Mon Jan 14, 2019 8:36 am 
Offline
Cacti User

Joined: Mon Oct 03, 2005 1:34 pm
Posts: 82
Location: STL
As of right now Task manager reports 3.1 of 6.5gb in use, so plenty of memory.

I downgraded back to Spine 1.3.5 and error goes away.


Top
 Profile  
 
 Post subject: Re: Out Of Resources Error
PostPosted: Mon Jan 14, 2019 11:43 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2523
OK, whilst task manager may have plenty of memory, are you sure the PHP is definitely picking up that it can use more memory? It is possible that the ini file you think you should set isn't the one being utilised. Best way to check that would be to run a test webpage that runs phpinfo(); where you can verify the settings.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Out Of Resources Error
PostPosted: Mon Jan 14, 2019 12:10 pm 
Offline
Cacti User

Joined: Mon Oct 03, 2005 1:34 pm
Posts: 82
Location: STL
phpinfo confirms the same setting in the ini for memory_limit 1024M. I double checked system paths, and only PHP path references is the PHP in the cactiapps folder I have on my system. For grins I renamed the default Program Files/PHP folders to ensure they were not somehow being referenced.


I decided to test with Spine x86 and I get no errors, but when I put spine x64 back I get the following errors.

2019/01/14 11:01:56 - SYSTEM THOLD STATS: Time:0.5041 Tholds:92 TotalDevices:96 DownDevices:0 NewDownDevices:0
2019/01/14 11:01:53 - SYSTEM STATS: Time:90.4935 Method:spine Processes:1 Threads:4 Hosts:96 HostsPerProcess:96 DataSources:1392 RRDsProcessed:439
2019/01/14 11:01:52 - SPINE: Poller[Main Poller] WARNING: Invalid Response(s), Errors[2] Device[CA-WEB01 (GCP WC1 look-and-feel)] Thread[1] DS[CA-WEB01 (GCP WC1 look-and-feel) - Used Space - F: Label:Data ] Graphs[CA-WEB01 (GCP WC1 look-and-feel) - Used Space - F: Label:Data ]
2019/01/14 11:01:49 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server
2019/01/14 11:01:49 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Unknown Reason
2019/01/14 11:01:49 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Memory
2019/01/14 11:01:49 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Resources
2019/01/14 11:01:48 - SPINE: Poller[Main Poller] ERROR: SS[3] PHP Script Server communications lost. Restarting PHP Script Server
2019/01/14 11:01:48 - PHPSVR ERROR: Input Expected, Script Server Terminating
2019/01/14 11:01:48 - SPINE: Poller[Main Poller] ERROR: SS[3] PHP Script Server communications lost. Restarting PHP Script Server
2019/01/14 11:01:48 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server
2019/01/14 11:01:48 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Unknown Reason
2019/01/14 11:01:48 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Memory
2019/01/14 11:01:48 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Resources
2019/01/14 11:01:47 - SPINE: Poller[Main Poller] ERROR: SS[3] PHP Script Server communications lost. Restarting PHP Script Server
2019/01/14 11:01:47 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server
2019/01/14 11:01:47 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Unknown Reason
2019/01/14 11:01:47 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Memory
2019/01/14 11:01:47 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Resources
2019/01/14 11:01:47 - SPINE: Poller[Main Poller] WARNING: SS[2] The PHP Script Server did not respond in time and will therefore be restarted
2019/01/14 11:00:26 - SPINE: Poller[Main Poller] ERROR: SS[2] Could not fork PHP Script Server
2019/01/14 11:00:26 - SPINE: Poller[Main Poller] ERROR: SS[2] Could not fork PHP Script Server Unknown Reason
2019/01/14 11:00:26 - SPINE: Poller[Main Poller] ERROR: SS[2] Could not fork PHP Script Server Out of Memory
2019/01/14 11:00:26 - SPINE: Poller[Main Poller] ERROR: SS[2] Could not fork PHP Script Server Out of Resources


Top
 Profile  
 
 Post subject: Re: Out Of Resources Error
PostPosted: Fri Jan 18, 2019 9:10 am 
Offline
Cacti User

Joined: Tue May 03, 2005 8:54 am
Posts: 298
Location: GA
Same errors here...following.
Windows 2016 x64....Cacti 1.2 installer

_________________
CCNA


Top
 Profile  
 
 Post subject: Re: Out Of Resources Error
PostPosted: Fri Jan 18, 2019 10:45 am 
Offline
Cacti Pro User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 753
Obviously there is something major wrong with php on Windows. Cacti, expecially on small systems takes barely 256MB except with real large fetches of data, which can push that memory amount up a bit.

_________________
Before history, there was a paradise, now dust.


Top
 Profile  
 
 Post subject: Re: Out Of Resources Error
PostPosted: Fri Jan 18, 2019 10:57 pm 
Offline
Cacti User

Joined: Tue Feb 07, 2017 1:55 pm
Posts: 63
Location: Venezuela
Same issue with spine 1.2 in Windows 7, cmd.php working except for the 1.2 recache recurrent problem but that´s other stuff.


2019-01-18 23:45:24 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server
2019-01-18 23:45:24 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Unknown Reason
2019-01-18 23:45:24 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Memory
2019-01-18 23:45:24 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Resources
2019-01-18 23:45:23 - SPINE: Poller[Main Poller] ERROR: SS[0] PHP Script Server communications lost. Restarting PHP Script Server
2019-01-18 23:45:23 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server
2019-01-18 23:45:23 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Unknown Reason
2019-01-18 23:45:23 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Memory
2019-01-18 23:45:23 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Resources
2019-01-18 23:45:23 - SPINE: Poller[Main Poller] ERROR: SS[0] PHP Script Server communications lost. Restarting PHP Script Server
2019-01-18 23:45:23 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server
2019-01-18 23:45:23 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Unknown Reason
2019-01-18 23:45:23 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Memory
2019-01-18 23:45:23 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Resources
2019-01-18 23:45:23 - SPINE: Poller[Main Poller] ERROR: SS[0] PHP Script Server communications lost. Restarting PHP Script Server
18-01-2019 23:45:23 - PHPSVR ERROR: Input Expected, Script Server Terminating
2019-01-18 23:45:22 - SPINE: Poller[Main Poller] ERROR: SS[0] PHP Script Server communications lost. Restarting PHP Script Server
18-01-2019 23:45:22 - PHPSVR ERROR: Input Expected, Script Server Terminating
2019-01-18 23:45:21 - SPINE: Poller[Main Poller] ERROR: SS[0] PHP Script Server communications lost. Restarting PHP Script Server
2019-01-18 23:45:21 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server
2019-01-18 23:45:21 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Unknown Reason
2019-01-18 23:45:21 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Memory
2019-01-18 23:45:21 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Resources
2019-01-18 23:45:21 - SPINE: Poller[Main Poller] ERROR: SS[0] PHP Script Server communications lost. Restarting PHP Script Server
2019-01-18 23:45:21 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server
2019-01-18 23:45:21 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Unknown Reason
2019-01-18 23:45:21 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Memory
2019-01-18 23:45:21 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Resources
2019-01-18 23:45:21 - SPINE: Poller[Main Poller] ERROR: SS[0] PHP Script Server communications lost. Restarting PHP Script Server
2019-01-18 23:45:21 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server
2019-01-18 23:45:21 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Unknown Reason
2019-01-18 23:45:21 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Memory
2019-01-18 23:45:21 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Resources
2019-01-18 23:45:21 - SPINE: Poller[Main Poller] ERROR: SS[0] PHP Script Server communications lost. Restarting PHP Script Server
18-01-2019 23:45:21 - PHPSVR ERROR: Input Expected, Script Server Terminating
2019-01-18 23:45:20 - SPINE: Poller[Main Poller] ERROR: SS[0] PHP Script Server communications lost. Restarting PHP Script Server
2019-01-18 23:45:20 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server
2019-01-18 23:45:20 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Unknown Reason
2019-01-18 23:45:20 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Memory
2019-01-18 23:45:20 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Resources
2019-01-18 23:45:20 - SPINE: Poller[Main Poller] ERROR: SS[0] PHP Script Server communications lost. Restarting PHP Script Server
2019-01-18 23:45:20 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server
2019-01-18 23:45:20 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Unknown Reason
2019-01-18 23:45:20 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Memory
2019-01-18 23:45:20 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Resources
2019-01-18 23:45:20 - SPINE: Poller[Main Poller] ERROR: SS[0] PHP Script Server communications lost. Restarting PHP Script Server
2019-01-18 23:45:20 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server
2019-01-18 23:45:20 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Unknown Reason
2019-01-18 23:45:20 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Memory
2019-01-18 23:45:20 - SPINE: Poller[Main Poller] ERROR: SS[0] Could not fork PHP Script Server Out of Resources
2019-01-18 23:45:19 - SPINE: Poller[Main Poller] ERROR: SS[0] PHP Script Server communications lost. Restarting PHP Script Server

_________________
Beast
GitHub: DoubleBeast


Top
 Profile  
 
 Post subject: Re: Out Of Resources Error
PostPosted: Sun Jan 20, 2019 5:43 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2523
OK. We will have to get some tests going to see if we can replicate this.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group