Sta­bil­iz­ing 7-​stable…

The 7–stable sys­tem on which I have sta­bil­ity prob­lems after an up­date from 7.1 to 7.2/7-stable is now semi-​stable.

The watch­dog re­boots after one minute of no re­ac­tion (cur­rently it is able to run 3 – 4 hours), and the jails come up without prob­lems now.

The prob­lem with the jails was, that e.g. the mysql–server star­tup went into the STOP state be­cause TTY-​input was “re­ques­ted”. I solved the prob­lem by us­ing /​dev/​null as in­put on jail-​startup. On –cur­rent I do not see this be­ha­vior (I have a 9-​current sys­tem with a lot of jails which re­boots every X days, and there mysql does not go into the STOP state).

I also start the jails in the back­ground, so that one block­ing jail does not block everything (done like in –cur­rent).

To say this with code:

— /usr/src/etc/rc.d/jail      2009-​02-​07 15:04:35.000000000 +0100
+++ /etc/rc.d/jail      2009-​12-​16 17:03:12.000000000 +0100
@@ –556,7 +556,8 @@
 fi
 _tmp_jail=${_tmp_dir}/jail.$$
 eval ${_​setfib} jail ${_​flags} –i ${_​rootdir} ${_​hostname} \ –                       \\”${_​addrl}\\” ${_​exec_​start} > ${_​tmp_​jail} 2>&1
+                       \\”${_​addrl}\\” ${_​exec_​start} > ${_​tmp_​jail} 2>&1 \\
+                       </​dev/​null

if [ “$?” –eq 0 ] ; then _jail_id=$(head –1 ${_​tmp_​jail}) @@ –623,4 +624,4 @@ if [ –n “$*” ]; then jail_​list=”$*“ fi –run_​rc_​command “${cmd}“ +run_​rc_​command “${cmd}” &

I also iden­ti­fied 57 patches for ZFS which are in 8-​stable, but not in 7-​stable (I do not think they could solve the dead­lock, but I do not really know, and now that there is one FS on ZFS, I would like to get as much fixed as pos­sible). Some of them should be merged, some would be nice to merge, and some I do not care much about (but if they are easy to merge, why not…). I already have all re­vi­sions and the cor­res­pond­ing com­mit logs avail­able in an email–draft.

Now I just need to write a little bit of text and find some people will­ing to help (some of the changes need a re­view if they are ap­plic­able to 7-​stable, and everything should be tested on a scratch-​box).

StumbleUponXINGBalatarinBox.netDiggGoogle GmailNetvouzPlurkSiteJotTypePad PostYahoo BookmarksVKSlashdotPocketHacker NewsDiigoBuddyMarksRedditLinkedInBibSonomyBufferEmailHatenaLiveJournalNewsVinePrintViadeoYahoo MailAIMBitty BrowserCare2 NewsEvernoteMail.RuPrintFriendlyWaneloYahoo MessengerYoolinkWebnewsStumpediaProtopage BookmarksOdnoklassnikiMendeleyInstapaperFarkCiteULikeBlinklistAOL MailTwitterGoogle+PinterestTumblrAmazon Wish ListBlogMarksDZoneDeliciousFlipboardFolkdJamespotMeneameMixiOknotiziePushaSvejoSymbaloo FeedsWhatsAppYouMobdiHITTWordPressRediff MyPageOutlook.comMySpaceDesign FloatBlogger PostApp.netDiary.RuKindle ItNUjijSegnaloTuentiWykopTwiddlaSina WeiboPinboardNetlogLineGoogle BookmarksDiasporaBookmarks.frBaiduFacebookGoogle ClassroomKakaoQzoneSMSTelegramRenrenKnownYummlyShare/​Save

Leave a Reply

Your email address will not be published. Required fields are marked *