[Varnish] #337: varnish doesn't work if compiled as 64bit in MacOSX
Varnish
varnish-bugs at projects.linpro.no
Sun Sep 28 14:57:53 CEST 2008
#337: varnish doesn't work if compiled as 64bit in MacOSX
----------------------+-----------------------------------------------------
Reporter: 191919 | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone: Varnish 2.0 code complete
Component: varnishd | Version: trunk
Severity: blocker | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by 191919):
Sometimes even rebooting doesn't help.
Start:
{{{
~# ulimit -n 65536
~# /usr/local/sbin/varnishd -a 0.0.0.0:80 -T 0.0.0.0:6000 -f /etc/vcl.conf
-s file,/data/varnish_cache,10M -p acceptor=kqueue
storage_file: filename: /data/varnish_cache size 10 MB.
Creating new SHMFILE
}}}
{{{
~# telnet localhost 80
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying fe80::1...
telnet: connect to address fe80::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
}}}
But the admin port can be connected and it works.
{{{
~# telnet localhost 6000
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying fe80::1...
telnet: connect to address fe80::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
stats
200 2725
0 Client connections accepted
0 Client requests received
0 Cache hits
0 Cache hits for pass
0 Cache misses
0 Backend connections success
0 Backend connections not attempted
0 Backend connections too many
0 Backend connections failures
0 Backend connections reuses
0 Backend connections recycles
0 Backend connections unused
0 N struct srcaddr
0 N active struct srcaddr
1 N struct sess_mem
1 N struct sess
0 N struct object
0 N struct objecthead
1 N struct smf
0 N small free smf
1 N large free smf
0 N struct vbe_conn
0 N struct bereq
10 N worker threads
10 N worker threads created
0 N worker threads not created
0 N worker threads limited
0 N queued work requests
0 N overflowed work requests
0 N dropped work requests
2 N backends
0 N expired objects
0 N LRU nuked objects
0 N LRU saved objects
0 N LRU moved objects
0 N objects on deathrow
0 HTTP header overflows
0 Objects sent with sendfile
0 Objects sent with write
0 Objects overflowing workspace
0 Total Sessions
0 Total Requests
0 Total pipe
0 Total pass
0 Total fetch
0 Total header bytes
0 Total body bytes
0 Session Closed
0 Session Pipeline
0 Session Read Ahead
0 Session Linger
0 Session herd
67 SHM records
67 SHM writes
0 SHM flushes due to overflow
0 SHM MTX contention
0 SHM cycles through buffer
0 allocator requests
0 outstanding allocations
0 bytes allocated
10485760 bytes free
0 SMA allocator requests
0 SMA outstanding allocations
0 SMA outstanding bytes
0 SMA bytes allocated
0 SMA bytes free
0 SMS allocator requests
0 SMS outstanding allocations
0 SMS outstanding bytes
0 SMS bytes allocated
0 SMS bytes freed
0 Backend requests made
1 N vcl total
1 N vcl available
0 N vcl discarded
1 N total active purges
1 N new purges added
0 N old purges deleted
0 N objects tested
0 N regexps tested against
}}}
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/337#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list