运维百科

CSV Export in Cacti is not working error 500

问题:在cacti的使用过程中,需要导出下载csv数据,当遇到数据量大,导致下载出现500错误

clip_image001.png

cactigraphs中进行下载csv

 

clip_image003.jpg

点击后出现500错误

 

Sometimes it may happen that the CSV export from a Cacti graph is not working for large date ranges. You then may see an error 500 being returned by the browser. If this happens, you should try increasing the memory limit of your php instance.


This can be achieved by editing the php.ini file and changing the following line:

memory_limit = 64M ; Maximum amount of memory a script may consume


Try settings this to 256M:

memory_limit = 256M ; Maximum amount of memory a script may consume


and restart your webserver. On CentOS you can use the following command:

/etc/init.d/httpd reload


转载:http://blog.51cto.com/strongit/1732055

 


本站部分资源收集于网络,纯个人收藏,无商业用途,如有侵权请及时告知!

1
分享到:

评论 0

取消
  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址