From: Larry <lar...@co...> - 2014-10-27 21:07:34
|
This is definitely an OS or PHP limitation. Per Gandalf, I would lean towards OS, but testing should confirm. # xargs --show-limits Your environment variables take up 1972 bytes POSIX upper limit on argument length (this system): 4611686018427383883 POSIX smallest allowable upper limit on argument length (all systems): 4096 Maximum length of command we could actually use: 4611686018427381911 Size of command buffer we are actually using: 131072 That's RHEL6, my first guess would be to get the following to increase, afterwards, restart Apache and then go backward from there: Size of command buffer we are actually using: 131072 Regards, You know Who ----- Original Message ----- From: "Paul Gevers" <pa...@cl...> To: "Support requests/questions about cacti" <cac...@li...> Sent: Monday, October 27, 2014 3:42:35 PM Subject: Re: [cacti-user] Issues with Cacti running very long rrdtool commands > Does anybody know why a command, while run internal to Cacti, would have a > different command line argument character limit than when the command is > run at the command prompt by any user on the machine, attempted in various > shells? No, but I suspect it is due to being called by php. > If I could somehow emulate the exact command Cacti is running, with the > same environment variables, via the command prompt, that could also help to > determine next steps. I believe you can run php interactive from the command prompt. That is where I would start. Paul ------------------------------------------------------------------------------ _______________________________________________ cacti-user mailing list cac...@li... https://lists.sourceforge.net/lists/listinfo/cacti-user |