可移动类型:运行 CRON 时出错
我在 RHEL5.5 上运行 Movable Type 5.031 我尝试运行定期任务,但遇到了这些错误。
root@sv cd /home/user/public_html/mt; ./tools/run-periodic-tasks
Out of memory (Needed 8160 bytes)
DBD::mysql::st execute warning: at extlib/Data/ObjectDriver/Driver/DBI.pm line 153.
我不知道那是什么。有人吗?
I have Movable Type 5.031 running on RHEL5.5
Im trying to run periodic tasks but I run into these errors.
root@sv cd /home/user/public_html/mt; ./tools/run-periodic-tasks
Out of memory (Needed 8160 bytes)
DBD::mysql::st execute warning: at extlib/Data/ObjectDriver/Driver/DBI.pm line 153.
I have no idea what it is. Anyone?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您正在运行哪些定期任务?只是在que中发布帖子吗?看起来查询结果对于服务器上的可用内存来说太大了。
What periodic tasks are you running? Just publishing posts in the que? It looks like the query result is too big for the memory available on the server.
我建议运行命令如下:
cd /home/user/public_html/mt; ./tools/run-periodic-tasks --verbose
这可能会为您提供有关脚本内存耗尽之前发生的情况的更多信息。
另一件可能有帮助的事情是打开 DebugMode< /a>.这样做将为您提供脚本失败的行。
请注意,调试模式有多种可能的设置,这些设置可能会公开其他有用的信息。
I would recommend running the command as follows:
cd /home/user/public_html/mt; ./tools/run-periodic-tasks --verbose
This would probably provide you with more information about what's going on before the script runs out of memory.
Another thing that might be of help would be to turn on the DebugMode. Doing this would provide you with the line on which the script was failing.
Note that there are several possible settings for DebugMode that might expose other useful information.