LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-14-2015, 09:52 AM   #1
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Rep: Reputation: 2
Squid Core Dumping


hello,
i want to got core dump for squid under debian linux
when i use command
ulimit -c
it says 0 but after doing
ulimit -c unlimited
it says unlimited, but when the squid crash i cant see core dump file and then i use command [ulimit -c] and it return back to 0 !!
so maybe the problem is in ulimit that cant generate core dump to me !!
Thanks
 
Old 04-15-2015, 12:32 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,566

Rep: Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794
Hi,

You may put "ulimit -c unlimited" in the squid startup script. You can also edit /etc/security/limits.conf and add:
Code:
* soft core unlimited
* hard core unlimited
Then you should define a directory to save cores in squid.conf:
Code:
coredump_dir /path/to/squid-cores
and restart the squid service

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
git-svn: core dumping eantoranz Linux - Software 0 01-29-2014 07:44 PM
Is your gaim core dumping? crisostomo_enrico Solaris / OpenSolaris 5 09-26-2007 07:55 AM
Squid Core Dumping jiminald Linux - Server 2 08-22-2007 04:08 AM
Squid dumping text to sreen Palula Linux - Software 2 11-24-2005 09:02 PM
Core dumping... JanusPaul Programming 2 01-24-2005 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration