apache

VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command

廉价感情. 提交于 2021-02-06 11:06:53
问题 I have been facing this error quite a long time, My production environment is running Apache 2.4 and php7 on a windows 2008 R2 enterprise platform. My error log is full of these lines VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command. VirtualFree() failed: [0x000001e7] Attempt to access invalid address After some time it leads to a 500 error, and later I have to restart the server it works fine only for some time. Please help me in resolving these

VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command

拟墨画扇 提交于 2021-02-06 11:05:13
问题 I have been facing this error quite a long time, My production environment is running Apache 2.4 and php7 on a windows 2008 R2 enterprise platform. My error log is full of these lines VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command. VirtualFree() failed: [0x000001e7] Attempt to access invalid address After some time it leads to a 500 error, and later I have to restart the server it works fine only for some time. Please help me in resolving these

磁盘空间不足?

不羁的心 提交于 2021-02-06 10:30:47
整理一下怎么来追踪磁盘空间大小的问题,磁盘空间已满,那么怎么来追查呢? 1、磁盘空间不足现象 磁盘空间不足的时候,监控系统就会发出告警信息:某某分区空间不足,管理员进行磁盘空间整理后,告警就会消失了。 在此整理了一些日常的磁盘问题的处理方法及查找的步骤。 2、 程序日志导致的磁盘空间不足 在一般的情况下,都是程序打印的日志没有及时归档,从而导致磁盘空间不足,那么在这种情况下,分辨出日志的重要程度,是将历史日志归档到存储上,还是将历史日志直接删除就可以解决了。 在处理这种日志问题的时候,一般都是写个定时任务,将重要的日志及时的进行打包,然后传送到相关的日志存储服务器上即可。 在这里,如果是查找大文件的时候可以使用find指令,然后用参数-size,从而查找出日志大的文件,进行及时处理。 在写定时任务的时候,可以 按照小时进行归档,也可以按照大小进行归档 ,在日志切割的时候就要进行相关的设计规定。 3 、 /var空间满了 var空间,第一反应是啥,肯定是邮件目录,WHY?因为这个目录总是这个出问题。 邮件目录,只要有定时任务,无论执行成功或者失败都会产生邮件 ,如果定时任务过多,那么就会导致空间的消耗其实也蛮大的,因为 var空间本来分配的磁盘空间就不会很多 。 另外一个,当你使用指令df -h查看空间的时候,明明空间是OK的,那么为啥还会有告警信息,这个时候,

Cannot run cgi, show plain text only (Ubuntu 13.10 Apache 2.4)

那年仲夏 提交于 2021-02-06 10:06:58
问题 I just install Ubuntu 13.10 and I am trying to install Apache. But when I tried to run a perl file in cgi-bin, the browser showed only plain text. My default.conf of Apache is below: AddHandler cgi-script .cgi .pl ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +Indexes +ExecCGI +MultiViews +SymLinksIfOwnerMatch #Order allow,deny Require all granted Allow from all </Directory> This is my perl cgi file: #!/usr/bin/perl print "Content-type: text

Apache: how to hide server version and operation system from users?

我们两清 提交于 2021-02-06 08:46:57
问题 I've read on one site that I need to add two lines to httpd.conf file: ServerSignature Off ServerTokens Prod But when I've added them nothing changed. As previously I can see in my browser Apache/2.2.16 (Debian) Maybe that's important: When I opened file (I mean before adding above lines) httpd.conf I saw it's empty. I use VPS. Thanks! 回答1: you didnt give enough information about os/distribution etc but in ubuntu's apache installation apache2.conf looks like this: <cut> Include httpd.conf

Apache: how to hide server version and operation system from users?

≯℡__Kan透↙ 提交于 2021-02-06 08:43:27
问题 I've read on one site that I need to add two lines to httpd.conf file: ServerSignature Off ServerTokens Prod But when I've added them nothing changed. As previously I can see in my browser Apache/2.2.16 (Debian) Maybe that's important: When I opened file (I mean before adding above lines) httpd.conf I saw it's empty. I use VPS. Thanks! 回答1: you didnt give enough information about os/distribution etc but in ubuntu's apache installation apache2.conf looks like this: <cut> Include httpd.conf

Apache: how to hide server version and operation system from users?

天大地大妈咪最大 提交于 2021-02-06 08:43:05
问题 I've read on one site that I need to add two lines to httpd.conf file: ServerSignature Off ServerTokens Prod But when I've added them nothing changed. As previously I can see in my browser Apache/2.2.16 (Debian) Maybe that's important: When I opened file (I mean before adding above lines) httpd.conf I saw it's empty. I use VPS. Thanks! 回答1: you didnt give enough information about os/distribution etc but in ubuntu's apache installation apache2.conf looks like this: <cut> Include httpd.conf

Arch Linux中的Pacman命令如何使用

﹥>﹥吖頭↗ 提交于 2021-02-06 00:48:55
pacman包管理器是Arch Linux 与其他主要发行版(如Red Hat和Ubuntu/Debian)的主要区别之一。pacman目的是方便地管理包,不管软件包是来自官方的 Arch 库还是用户自己创建,pacman 都能方便地管理。 环境 Archlinux 2020.04 使用pacman安装程序包 可以使用pacman同时安装一个或者多个程序包 root@archlinux> pacman -S --noconfirm apache -S :安装应用程序。 --noconfirm :安装时自动确认安装。 删除程序包 删除程序包,但不删除依赖包: root@archlinux> pacman -R --noconfirm apache 删除程序包,并且删除依赖包: root@archlinux> pacman -Rs apache –noconfirm 升级 包 Pacman提供了一种更新Arch Linux的简单方法。您只需使用一个 命令 即可更新所有已安装的程序包。这可能需要一段时间,具体取决于系统的更新程度。 使用 -Syu 选项,可以更新所有已经安装的软件包。 root@archlinux> pacman -Syu 搜索程序包 搜索本地已经安装的程序包,使用 -Q 选项: # 列出所有的程序包 root@archlinux> pacman -Q acl 2.2

Large SVN checkout fails sporadically

强颜欢笑 提交于 2021-02-05 21:31:17
问题 I'm currently experiencing issues during a large, full SVN repository checkout (20GB+), where the checkout process will halt randomly. The repository is composed of many small text files and a few large CSV files. It's been difficult to narrow down the issue as the error only pops up a few hours into the checkout. From what I've seen, it's not a specific file that halts the process and verifying using svnadmin returned no errors. Errors: Typical Apache Error Log: Unable to deliver content.

Large SVN checkout fails sporadically

爷,独闯天下 提交于 2021-02-05 21:22:31
问题 I'm currently experiencing issues during a large, full SVN repository checkout (20GB+), where the checkout process will halt randomly. The repository is composed of many small text files and a few large CSV files. It's been difficult to narrow down the issue as the error only pops up a few hours into the checkout. From what I've seen, it's not a specific file that halts the process and verifying using svnadmin returned no errors. Errors: Typical Apache Error Log: Unable to deliver content.