Unix Technical Forum

Re: Anatomy of a bug : bgpd.c 1.105 : part 2

This is a discussion on Re: Anatomy of a bug : bgpd.c 1.105 : part 2 within the mailing.openbsd.tech forums, part of the OpenBSD category; --> Erblichs wrote: > I am glad our two coding styles are different.. I wholeheartedly agree. > If you don't ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 08:17 AM
Lars Hansson
 
Posts: n/a
Default Re: Anatomy of a bug : bgpd.c 1.105 : part 2

Erblichs wrote:
> I am glad our two coding styles are different..

I wholeheartedly agree.

> If you don't like my suggestion, write a memory
> allocator that doesn't return unless you have
> a successful return OR do what you are doing
> now with this type of issue, exit...

I'm pretty sure you're not in any kind of position
to dictate what Henning should do with his time.

> It is just to simple to exit a app when unusual
> conditions occur. The difficulty is have them
> stay booted and working for months to years
> at a time.

This is not much of a problem if you run the app properly
supervised under damontools, freedt or runit (or similar).

> Years ago I wondered why certain apps just
> stop working, now I have a idea. I somehow
> thought that people cared to have a useable
> system with apps that just don't exit..

Exit != stop working. If it is you really shouldnt be
administering mission-critical servers. Exits are only
a problem if the app doesnt restart properly but then
you're most likely dealing with problems that wouldnt
have been solved by not exiting anyway.
My systems are perfectly usable even though apps
occasionally exits unexpectedly.

> Mitchell Erblich
> exiting....

Was the irony intended?

---
Lars Hansson

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:20 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com