zakkymuha / lusca-cache

Automatically exported from code.google.com/p/lusca-cache
0 stars 0 forks source link

FATAL: Received Segment Violation...dying. #146

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. when i enable perl script in squid.conf
2.
3.

What is the expected output? What do you see instead?

2011/08/29 01:43:56| Starting Squid Cache version LUSCA_HEAD for 
i686-pc-mingw32...
2011/08/29 01:43:56| Running as Lusca Windows System Service on Windows Server 
2008
2011/08/29 01:43:56| Service command line is: 
2011/08/29 01:43:56| Process ID 1148
2011/08/29 01:43:56| NOTICE: Could not increase the number of filedescriptors
2011/08/29 01:43:56| With 2048 file descriptors available
2011/08/29 01:43:56| With 2048 CRT stdio descriptors available
2011/08/29 01:43:56| Windows sockets initialized
2011/08/29 01:43:56| Using select for the IO loop
2011/08/29 01:43:56| Performing DNS Tests...
2011/08/29 01:43:56| Successful DNS name lookup tests...
2011/08/29 01:43:56| parseEtcHosts: /etc/hosts: (2) No such file or directory
2011/08/29 01:43:56| Adding nameserver 127.0.0.1 from squid.conf
2011/08/29 01:43:56| DNS Socket created at 0.0.0.0, port 64045, FD 5
2011/08/29 01:43:56| Adding nameserver 192.168.10.14 from squid.conf
2011/08/29 01:43:56| helperOpenServers: Starting 10 'perl.exe' processes
2011/08/29 01:43:56| Unlinkd pipe opened on FD 46
2011/08/29 01:43:56| Swap maxSize 10240000 + 819200 KB, estimated 850707 objects
2011/08/29 01:43:56| Target number of buckets: 42535
2011/08/29 01:43:56| Using 65536 Store buckets
2011/08/29 01:43:56| Max Mem  size: 819200 KB
2011/08/29 01:43:56| Max Swap size: 10240000 KB
2011/08/29 01:43:56| Store logging disabled
2011/08/29 01:43:56| AUFS: D:/SquidCache/cache-lusca: log 
'D:/SquidCache/cache-lusca/swap.state' opened on FD 53
2011/08/29 01:43:56| AUFS: D:/SquidCache/cache-lusca: tmp log 
D:/SquidCache/cache-lusca/swap.state.new opened on FD 53
2011/08/29 01:43:56| Rebuilding storage in D:/SquidCache/cache-lusca (CLEAN)
2011/08/29 01:43:56| Using Round Robin store dir selection
2011/08/29 01:43:56| Current Directory is C:\Program Files\Lusca
2011/08/29 01:43:56| Loaded Icons.
2011/08/29 01:43:56| Accepting transparently proxied HTTP connections at 
0.0.0.0, port 3128, FD 57.
2011/08/29 01:43:56| Accepting transparently proxied HTTP connections at 
127.0.0.1, port 3128, FD 58.
2011/08/29 01:43:56| Accepting ICP messages at 0.0.0.0, port 3130, FD 60.
2011/08/29 01:43:56| WCCP Disabled.
2011/08/29 01:43:56| Ready to serve requests.
2011/08/29 01:43:56| NOTICE: no explicit transparent proxy support enabled. 
Assuming getsockname() works on intercepted connections
FATAL: Received Segment Violation...dying.
2011/08/29 01:43:57| Not currently OK to rewrite swap log.
2011/08/29 01:43:57| storeDirWriteCleanLogs: Operation aborted.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
2011/08/29 01:43:56| ufs_rebuild: D:/SquidCache/cache-lusca: rebuild type: 
REBUILD_LOG
2011/08/29 01:43:56| ufs_rebuild: D:/SquidCache/cache-lusca: rebuild from 
swaplog
2011/08/29 01:43:56| write failed: (32) (32) Broken pipe

What version of the product are you using? On what operating system?

windows 2008 server

Please provide any additional information below.

Hello, when i try to add storeurl.pl in squid.conf as the following :

storeurl_rewrite_program C:/perl/bin/perl.exe conf/storeurl.pl
storeurl_rewrite_children 1
storeurl_rewrite_concurrency 99

I tried it in different ways thinking it might be the way I am adding it in the 
conf file! but noticed that any file .pl you add in the squid.conf then lusca 
wouldnt start at all and it is so buggy in windows .. sometimes it works but if 
it fails later then it wont allow me to start lusca at all until i restart the 
operating system again then everything start as normal!!

by the way I was using Squid2.7Stable8 without problems but I really need these 
options store-stale , must-revalidate , ignore-no-store thats why I came to 
lusca on windows ..

Is there any way I can or a command to track the error I am getting!?

Thank you

Original issue reported on code.google.com by sounar...@googlemail.com on 28 Aug 2011 at 11:01

GoogleCodeExporter commented 9 years ago
Hello again,

I noticed that when I uncomment storeurl_rewrite_program then Lusca works well 
which means I can turn it off and on anytime!! but if the 
storeurl_rewrite_program was enabled then for once it starts until it fails 
suddenly after few hours .. again I try to turn the Lusca Head on but wont let 
me quickly until I wait for 5 minutes then automatically it works!! or if I 
want it quickly to run .. I try to restart windows.

Original comment by sounar...@googlemail.com on 29 Aug 2011 at 2:23

GoogleCodeExporter commented 9 years ago
Good night

I have a problem in "Lusca" when I add the variable storeurl_rewrite_program 
squid.conf and restart the service, "Lusca" starts and stops. But if I remove 
or comment out the line referring to storeurl_rewrite_program, works normal.
What might be happening?

Thank you!

Original comment by fmart...@bsd.com.br on 29 Nov 2011 at 10:38