From: "Oleg K. Artemjev" <olli@rbauto.ru> To: community@altlinux.ru Subject: Re: [Comm] ?: почему эта программа жрет swap w/ speed 1Mb/sec Date: Thu, 21 Aug 2003 12:10:22 +0400 Message-ID: <20030821121022.3db832b4.olli@rbauto.ru> (raw) In-Reply-To: <661332515.20030821101233@ukr.net> On Thu, 21 Aug 2003 10:12:33 +0300 Sasha Martsinuk <scampler@ukr.net> wrote: > OKA> subj - на моем Master 2.0 нижевключенный код съедает по 1 метру свапа за одну-две секунды. > OKA> Почему? ?-) > OKA> И кто его потом прибивает? Я имею ввиду то, что не понятно, что убивает процесс > OKA> переевший swap space - к вечеру от программы остается только надпись 'killed'. То есть, вероятно, > OKA> это делает ядро, но от какой опции в menuconfig зависит такое поведение? ?-) вопрос все еще открыт. ;-) > OKA> * BUGS: Current version eats swap space w/ a speed of 1Mb/sec on > OKA> * my dual PPro200 w/ 96 RAM w/ no daemons running on 10Mbit/s on > OKA> * Realtek 8139. At the end of avalible swap space it may be > OKA> * killed by monitoring rules or you may get other results... > Это цитата из приведённого тобой кода, где автора прямо признают эту > багу. Я рад что меня начинают цитировать ;-))), но вот беда - решение вопроса от этого ближе не становится. =) Этот самый arpoison модифицировал я - всего то делов - взять справочник по цэ, отодрать командные опции, сделать цикл под перебор MAC по возрастанию - задача для второкурсника (на первом курсе цэ не проходят). Так что про автора это слишком громко сказано - я всего лишь адаптировал код под свои задачи. =) Вопрос, собственно, был к знающим программирование и работавшим с libnet - что я сделал не так? Варианты: *) вынести за цикл libnet_init_packet/libnet_destroy_packet? *) вставить некий вызов на освобождение памяти? *) вставить паузу по случаю нереентерабельности какой либо из функций? -- Bye.Olli. http://olli.digger.org.ru
next prev parent reply other threads:[~2003-08-21 8:10 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-08-21 6:30 Oleg K. Artemjev 2003-08-21 6:37 ` [Comm] " Michael Shigorin 2003-08-21 8:13 ` Oleg K. Artemjev 2003-08-21 10:16 ` Michael Shigorin 2003-08-21 10:39 ` Oleg K. Artemjev 2003-08-21 11:01 ` Michael Shigorin 2003-08-21 7:12 ` [Comm] " Sasha Martsinuk 2003-08-21 8:10 ` Oleg K. Artemjev [this message] 2003-08-21 8:28 ` Alexey I. Froloff 2003-08-21 10:53 ` [Comm] " Alexey Tourbin 2003-08-21 11:04 ` Alexey Tourbin 2003-08-21 11:24 ` Alexey I. Froloff 2003-08-21 11:30 ` Alexey Tourbin 2003-08-21 12:55 ` Alexey Tourbin 2003-08-21 12:12 ` Oleg K. Artemjev 2003-08-21 12:46 ` Sergey Vlasov 2003-08-21 12:54 ` Alexey Tourbin 2003-08-21 13:17 ` Oleg K. Artemjev
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030821121022.3db832b4.olli@rbauto.ru \ --to=olli@rbauto.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git