zsh-users
 help / color / mirror / code / Atom feed
* size of core dumps
@ 2006-08-20  9:29 pol
  2006-08-20 16:21 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: pol @ 2006-08-20  9:29 UTC (permalink / raw)
  To: zsh-users

<posted & mailed>

I using the following zsh system wide configuration (/etc/zsh/zshrc):
  
unlimit
limit stack 8192
limit core 0
limit -s

And i have set no modifications to the above commands in the usr
configurtaion  (as far as i can see). 

Yet some (kde) applications often crash dumping a large core file. 

Will you please help me to figure out what is wrong?

thank you 

--
pol
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: size of core dumps
  2006-08-20  9:29 size of core dumps pol
@ 2006-08-20 16:21 ` Bart Schaefer
  2006-08-20 16:43   ` Christian Taylor
  2006-08-20 19:03   ` Frank Terbeck
  0 siblings, 2 replies; 4+ messages in thread
From: Bart Schaefer @ 2006-08-20 16:21 UTC (permalink / raw)
  To: zsh-users

On Aug 20, 11:29am, pol wrote:
}
} I using the following zsh system wide configuration (/etc/zsh/zshrc):

Usually it's just /etc/zshrc.  Has your zsh been compiled in such a way
as to move it elsewhere?

} limit core 0
} 
} Yet some (kde) applications often crash dumping a large core file. 

Most likely the kde apps are being started by the window manager,
which is run by the login display manager before any interactive
shells are run.  Try moving the limit command to /etc/zsh/zshenv
(or /etc/zshenv).  If that doesn't work, maybe the display manager
isn't using zsh to launch the window manager, and you need to put
the limit commands in /etc/profile or some such.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: size of core dumps
  2006-08-20 16:21 ` Bart Schaefer
@ 2006-08-20 16:43   ` Christian Taylor
  2006-08-20 19:03   ` Frank Terbeck
  1 sibling, 0 replies; 4+ messages in thread
From: Christian Taylor @ 2006-08-20 16:43 UTC (permalink / raw)
  To: zsh-users

Bart Schaefer wrote:
> On Aug 20, 11:29am, pol wrote:
> }
> } I using the following zsh system wide configuration (/etc/zsh/zshrc):
[...]
> Try moving the limit command to /etc/zsh/zshenv 
> (or /etc/zshenv).  If that doesn't work, maybe the display manager
> isn't using zsh to launch the window manager, and you need to put
> the limit commands in /etc/profile or some such.

Some distributions use a dedicated file to easily set limits system-wide, at 
every login (I think it's a component of PAM).
Check if "/etc/security/limits.conf" exists on your system. If it does, have a 
look at the comments for examples of the syntax.

Christian


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: size of core dumps
  2006-08-20 16:21 ` Bart Schaefer
  2006-08-20 16:43   ` Christian Taylor
@ 2006-08-20 19:03   ` Frank Terbeck
  1 sibling, 0 replies; 4+ messages in thread
From: Frank Terbeck @ 2006-08-20 19:03 UTC (permalink / raw)
  To: zsh-users

Bart Schaefer <schaefer@brasslantern.com>:
> On Aug 20, 11:29am, pol wrote:
> } I using the following zsh system wide configuration (/etc/zsh/zshrc):
> 
> Usually it's just /etc/zshrc.  Has your zsh been compiled in such a way
> as to move it elsewhere?

On debian Systems the global config files reside in '/etc/zsh/'.

Regards, Frank


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-08-20 19:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-20  9:29 size of core dumps pol
2006-08-20 16:21 ` Bart Schaefer
2006-08-20 16:43   ` Christian Taylor
2006-08-20 19:03   ` Frank Terbeck

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).