Win64下CGI应用程序存储空间不足错误

发布于 2024-08-12 07:01:57 字数 404 浏览 2 评论 0原文

我有一个 Delphi(因此是 32 位)CGI 应用程序,在 Windows 2008 64 位服务器上运行,该服务器具有 24 Gb RAM 和 IIS7。 Web 服务一次运行正常几天(有时是几周),然后突然开始报告“没有足够的存储空间来处理此命令”。

我以前在常规 Windows 应用程序中见过这种情况,这通常意味着机器内存不足。在此实例中,服务器显示仅使用了 10% 的物理 RAM。最重要的是,TaskManager 仅显示 CGI 可执行文件的一个实例,分配了 14Mb。一旦启动,无论实际服务器负载如何,它都会不断给出错误。这东西不可能真的内存不足。

所以我认为 IIS7 中可能有一些最大内存设置,但我找不到类似的东西。重新启动 Web 服务器可以让问题在下次之前消失,但可能不是最好的策略。

有什么想法吗?

I have a Delphi (hence 32-bit) CGI app running on a Windows 2008 64-bit server that has 24 Gb RAM with IIS7. The web service runs fine for a few days at a time (sometimes a few weeks) and then suddenly starts reporting "Not enough storage available to process this command."

Now I've seen this before in regular Windows apps and it normally means that the machine ran out of memory. In this instance, the server shows that only 10% of physical RAM is in use. On top of that, TaskManager shows only one instance of the CGI executable, with 14Mb allocated. And once it starts it keeps giving the error, regardless of actual server load. No way is this thing really running out of memory.

So I figured there is probably some maximum memory setting in IIS7 somewhere, but I couldn't find anything of the sort. Restarting the web server makes the problem go away until next time, but is probably not the best strategy.

Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

装迷糊 2024-08-19 07:01:57

这可能是一个 IRPStackSize 问题,如此处所述。显然,那篇文章中提到的特定原因并不是唯一的原因。

It might be an IRPStackSize issue as discussed here. And the particular cause mentioned in that article is not the only one, apparently.

为你拒绝所有暧昧 2024-08-19 07:01:57

尽管 CGI 似乎可以在 IIS6 下工作,但它似乎从未在 IIS7 下卸载。这似乎是 IIS7 上的 CGI 支持的问题。

The CGI does not seem to ever unload under IIS7, even though it seems to work under IIS6. This seems to be a problem with the CGI support on IIS7.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文