httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Benfell <dbenf...@gmail.com>
Subject [users@httpd] Apache won't start, strace output enclosed
Date Fri, 17 Jan 2014 04:13:05 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi all,

Ack!

This is apache 2.2.25 compiled from source but on a CentOS 6.5 system.
Notably, I included all modules in the build.

I was trying to add a subdomain, ran into memory allocation problems
and so tweaked the settings accordingly. Here are the current settings
and I have no idea how sensible they are:

<IfModule prefork.c>
StartServers       4
MinSpareServers    4
MaxSpareServers   64
ServerLimit       512
MaxClients        512
MaxRequestsPerChild  512
</IfModule>
<IfModule worker.c>
StartServers         4
MaxClients         512
MinSpareThreads     32
MaxSpareThreads     64
ThreadsPerChild     16
MaxRequestsPerChild  0
</IfModule>

Now it won't start at all and writes nothing to the error log. So I
managed to get strace going on it. These are the last few lines of the
output:

open("/etc/localtime", O_RDONLY)        = 82
fstat(82, {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
fstat(82, {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7fce20292000
read(82,
"TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"...,
4096) = 2819
lseek(82, -1802, SEEK_CUR)              = 1017
read(82,
"TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0\0\0\0"...,
4096) = 1802
close(82)                               = 0
munmap(0x7fce20292000, 4096)            = 0
write(43, "[Thu Jan 16 19:49:38 2014] [erro"..., 98) = 98
exit_group(1)

As you might imagine, I'm in a bit of a panic. What's going wrong?

Thanks!
- -- 
David Benfell
see https://parts-unknown.org/node/2 if you don't understand the
attachment
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.1.0-ecc (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJS2K3RAAoJEKrN0Ha7pkCOWP8P/23HK4h3KQ0ERVn5LN8l85t+
c+ZbjWsc3G+5LsU8sRhgx6724ZFi4Mo3v2pq1UAXpeGToa0QqUfteXFtepLz5X++
0gJUy84gphrz3P5XZEHO51l1tH4RhBovVOUoWpQiZMRG06UapuLqHqmM33RB275+
IMKfem8KukTOaUCr5ByKxWSNi3aA/2P5wP21ah9t7LMCvp668PKFyMUI8nbq1nyQ
ZM2sFfulEjHel+6KpmrxEZ/QaMK4ElGCnmhNExz1sRicYaLNrk/kgOZBEAqI7esV
EHe8L3KO7IqRrCgCUEC4ovFYh+THnrlGvNZU3seQNKzocQ64bR+zRViHNaR0jzXr
GZKIAyKhaEutpPqjvcfTYtF/HRsIS3FkOlXPKPq0xonyJtQ0SWPsR6e74Lj3x2aq
OqD2FdnCEqy8+GlQ1nh1kOaI14N6b5uzRWacNNDmwRYD0Dr8V1Du+F/LF33mpH9p
3WkiKtXJ7bvSxAtdA1+DJc+DaQnMOjpoAdzMX0VQCdkJURdvNcCVmIkj6LO6z1Qy
oNf9pg0b6oLN6BDJuBM7AKneT61K5EwBmcHVW5Jq+jSBJHGbzumWPy7OUyzedfNM
DPl7ZoxrFY9CH+piRMTXSh9se0uBIunJFc3hHBIxFv3HeKBj7AEXwA387PPuMDOh
97UgbIOS5IdZ4OppgXue
=NgHk
-----END PGP SIGNATURE-----

Mime
View raw message