From shlomif at gmail.com Sat Apr 1 11:00:31 2017 From: shlomif at gmail.com (Shlomi Fish) Date: Sat, 1 Apr 2017 11:00:31 +0300 Subject: [ANN] The Atom Text Editor could Edit a 2,000,001 Bytes-Long File Message-ID: Hi all! See http://www.shlomifish.org/humour/bits/Atom-Text-Editor-edits-2_000_001-bytes/ . Regards, -- Shlomi -- Shlomi Fish http://www.shlomifish.org/ You can never truly appreciate The Gilmore Girls until you've watched it in the original Klingon. Please reply to list if it's a mailing list post - http://shlom.in/reply . -------------- next part -------------- An HTML attachment was scrubbed... URL: From rabin at rabin.io Mon Apr 3 14:59:57 2017 From: rabin at rabin.io (Rabin Yasharzadehe) Date: Mon, 3 Apr 2017 14:59:57 +0300 Subject: [What are the] best laptops for Linux? Message-ID: I came a cross this page, others who are looking for new Linux laptop my find it useful https://www.slant.co/topics/1184/~laptops-for-linux my 2c on the matter, the Lenovo P50 + Dock-station is not working properly ( DisplayPort MST ), even thought it have Redhat certification . -- Rabin -------------- next part -------------- An HTML attachment was scrubbed... URL: From joshroden at gmail.com Fri Apr 21 15:07:47 2017 From: joshroden at gmail.com (Josh Roden) Date: Fri, 21 Apr 2017 15:07:47 +0300 Subject: Preventing a single student programmer from choking the whole server. Message-ID: Hi server setup: ------------------ Centos 6 32GB RAM 16 Cpu's 70 students max I am using /etc/security/limits.conf to prevent the students from choking the whole server but sometimes one student will write a very bad program that somehow runs itself again and again - so fast that "killall" and "pkill -9 -u" can't stop/remove the user fast enough before the student's program is run again and again... Here is my definition in limits: @stud hard cpu 8 @stud hard nproc 256 @stud hard nofile 1024 @stud - maxlogins 6 I can't reduce cpu time below 8min because eclipse will be killed every hour or so. My problem seems to be that the student can run up to 256 processes that each uses 100% of a single CPU and we only have 16 CPU''s. Thanks for any suggestions. Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: From guy.choo.keren at gmail.com Fri Apr 21 16:27:38 2017 From: guy.choo.keren at gmail.com (guy keren) Date: Fri, 21 Apr 2017 16:27:38 +0300 Subject: Preventing a single student programmer from choking the whole server. In-Reply-To: References: Message-ID: <56736287-a54d-9ceb-f1a2-368838dfd0d2@gmail.com> how about using cgroups, putting each user's login shell in a cgroup that cannot use more then X% of the whole CPUs. this will affect all processes spawned under the user's shell. --guy On 04/21/2017 03:07 PM, Josh Roden wrote: > Hi > > server setup: > ------------------ > Centos 6 > 32GB RAM > 16 Cpu's > 70 students max > > I am using /etc/security/limits.conf to prevent the students from > choking the whole > server but sometimes one student will write a very bad program that somehow > runs itself again and again - so fast that "killall" and "pkill -9 -u" > can't stop/remove > the user fast enough before the student's program is run again and again... > > Here is my definition in limits: > > @stud hard cpu 8 > @stud hard nproc 256 > @stud hard nofile 1024 > @stud - maxlogins 6 > > I can't reduce cpu time below 8min because eclipse will be killed every > hour or so. > My problem seems to be that the student can run up to 256 processes that > each > uses 100% of a single CPU and we only have 16 CPU''s. > > Thanks for any suggestions. > Josh > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > From joshroden at gmail.com Sat Apr 22 12:51:59 2017 From: joshroden at gmail.com (Josh Roden) Date: Sat, 22 Apr 2017 12:51:59 +0300 Subject: Preventing a single student programmer from choking the whole server. In-Reply-To: <56736287-a54d-9ceb-f1a2-368838dfd0d2@gmail.com> References: <56736287-a54d-9ceb-f1a2-368838dfd0d2@gmail.com> Message-ID: Hi I see some explanation about cgroups on Centos 6 here: https://www.digitalocean.com/community/tutorials/how-to-limit-resources-using-cgroups-on-centos-6 I will check about its implementation for Centos 6 and update my post. Thanks for giving a direction. Josh On Fri, Apr 21, 2017 at 4:27 PM, guy keren wrote: > > how about using cgroups, putting each user's login shell in a cgroup that > cannot use more then X% of the whole CPUs. this will affect all processes > spawned under the user's shell. > > --guy > > > On 04/21/2017 03:07 PM, Josh Roden wrote: > >> Hi >> >> server setup: >> ------------------ >> Centos 6 >> 32GB RAM >> 16 Cpu's >> 70 students max >> >> I am using /etc/security/limits.conf to prevent the students from >> choking the whole >> server but sometimes one student will write a very bad program that >> somehow >> runs itself again and again - so fast that "killall" and "pkill -9 -u" >> can't stop/remove >> the user fast enough before the student's program is run again and >> again... >> >> Here is my definition in limits: >> >> @stud hard cpu 8 >> @stud hard nproc 256 >> @stud hard nofile 1024 >> @stud - maxlogins 6 >> >> I can't reduce cpu time below 8min because eclipse will be killed every >> hour or so. >> My problem seems to be that the student can run up to 256 processes that >> each >> uses 100% of a single CPU and we only have 16 CPU''s. >> >> Thanks for any suggestions. >> Josh >> >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shachar at shemesh.biz Sun Apr 23 07:25:16 2017 From: shachar at shemesh.biz (Shachar Shemesh) Date: Sun, 23 Apr 2017 07:25:16 +0300 Subject: Meetup announcement: Design by Introspection, Andrei Alexandrescu Message-ID: <19e28c8ea05d8b79cdcf3561606e9e85@shemesh.biz> Hello everyone, On May 10th, Google will host a meetup, sponsored by my employer, Weka.IO (a storage company), with Andrei Alexandrescu. We brought him to Israel because he's one of the two leaders of the D programming language, but the lecture is about something which has been a great motivator for D, but originated from C++. I'll paste the meetup's synopsis: Andrei Alexandrescu, author of the landmark "Modern C++ Design" which revolutionalized how C++ is used, and co-leader of the D language, is coming to Israel for the first time. This talk shares early experience with Design by Introspection, a proposed programming paradigm that has enough demonstrable results to be worth sharing. Registration is free and open at: https://www.meetup.com/dlang-il/events/238582530/ Shachar -------------- next part -------------- An HTML attachment was scrubbed... URL: From meirm at riunx.com Tue Apr 25 13:49:46 2017 From: meirm at riunx.com (Meir Michanie) Date: Tue, 25 Apr 2017 10:49:46 +0000 Subject: OT: job offer Message-ID: Hi there, I am looking for Front end python/flask developer/s with strong knowledge on Linux. Windows users are unwelcomed. :) I would consider full time positions and freelancer. On premises or remote, just get the job done. Please email me for more details, the opening is immediate. Essentials: * Git * Python * Flask front end experience. * Scripting * Nosql (mongo) Extra points for: * Dockers * sys administration * Perl * Security * Cyberpunk -- Meir Michanie RIUNX - Open source solutions http://www.riunx.com -------------- next part -------------- An HTML attachment was scrubbed... URL: