similar to: Performance leak with concurrent requests on static files (Rails)

Displaying 20 results from an estimated 2000 matches similar to: "Performance leak with concurrent requests on static files (Rails)"

2007 Jul 19
1
one mongrel with hundreds of CLOSE_WAIT tcp connections
Hi, I''m running into a strange issue where one mongrel will sometimes develop hundreds of CLOSE_WAIT TCP connections, mostly to apache (I think -- see sample lsof output below). I haven''t had a chance to get the mongrel with this behavior into USR1 debug mode yet. I didn''t catch it in time. This happens a couple times a day on average at seemingly random times.
2007 Jul 19
0
one mongrel with *lots* of close_wait tcp connections
* cross posted to the mongrel mailing list* Hi, I''m running into a strange issue where one mongrel will sometimes develop hundreds of CLOSE_WAIT TCP connections, mostly to apache (I think -- see sample lsof output below). I haven''t had a chance to get the mongrel with this behavior into USR1 debug mode yet. I wrote a little loop below that will catch it next time. This
2009 Jan 29
0
File descriptor leak in Mongrel server?
Excuse my ignorance for I''m a RoR newby. We have a number of RoR applications running on a server with a cPanel installation. One of the clients sites went belly up with the error message: Errno::EMFILE Too many open files - socket(2) Digging a bit I found that the mongrel server had a large number of sockets open and appears to be leaking them fairly frequently. The lsof looks like
2006 Jan 12
2
tapply and weighted means
I' m trying to compute weighted mean on different groups but it only returns NA. If I use the following data.frame truc: x y w 1 1 1 1 2 2 1 3 1 1 4 2 0 2 1 0 3 2 0 4 1 0 5 1 where x is a factor, and then use the command : tapply(truc$y,list(truc$x),wtd.mean, weights=truc$w) I just get NA. What's the problem ? What can I do ?
2008 Aug 04
1
R and emacs
I wrote a "program" truc.r with emacs In emacs, I start the buffer R, then I eval the buffer truc.r (C-c C-b) All is correct and I have my results. But, when I return to Console R, and make: > source ("truc.r"), I obtain an error: Erreur dans source("truc.r") : invalid multibyte character in parser at line 1 If I copy, line by line the instructions of the
2008 Aug 03
1
(sans objet)
- Peut-on poser des questions en fran?ais? - Tr?s simple. Je fais un programme "truc.r" (sous emacs) Ce programme r?alise des graphiques. Je voudrais les enregistrer au fur et ? mesure -- sinon, quand la session est finie, ces graphiques sont perdus-- J'ai essay?: pdf("truc.pdf") Mais le fichier "truc.pdf" cr?? est vide. Comment fait-on? Merci et salutations
2005 Oct 31
3
Applying a function to a vector
I have defined a function to compute the value of a beta distribution of the second kind (the existing beta distribution of th stats package is the beta distribution of the first kind). It works perfectly for a single value, but I want to apply it to a vector of 22 000 values. I can use a loop for the calculation of each value but it runs very very slowly. So, what can I change ? Hers's the
2010 Feb 23
1
RODBC to import/export xls files
Dear R users, I've learned today about RODBC package in order to import xls file to dataframes and export the dataframes to xls files. However I have some problems. Please excuse me if these are basic but as I said, I've just begun with this package. Also this email is quite long, but everything is related, so I don't think it would be better to split it. Moreover, there's a
2011 Apr 26
1
About snow packages
Dear Luke ! Thanh you for the lovely packages. I have used it, it woks fine for Linux, XP, but concerning about windows 7 - 64 bits. I have problem with function makeCluster(). with R 13.0 version. I wonder it may caused a update problem or ??? Do you have any hint ??? Best Truc
2005 Aug 21
1
Warning when using 'prelim.mix' from the package 'mix'
'sodexquan' is an data frame of numeric variables with some missing values. I would like to approximate these missing values using some algorithm. I thereby chose the mix package. But when trying to run the 'prelim.mix' function (aka the function that will prepare the data for further calculations), R says: prelim.mix(truc,0) Error in as.integer.default(list(c(32, 52, 32, 27, 34,
2006 Dec 23
1
Spawn mongrel on demand
Hello Zed ! Do you knows or plan a way to spawn mongrel processes on demand ? I''m studying options to build an affordable but solid shared hosting solution. You wrote something very promising in your "NEXT STEPS", A combination of the ''"mostly C version'' and the mongrel_cluster replacement would be an elegant method to save much RAM on servers (until
2018 May 09
2
ScalarEvolution questions
Hi, I'm new to ScalarEvolution and wanted to explore its capabilities. I have following few questions: 1) How to compare SCEV expressions. I have a situation to compare two SCEV to find the min among them. Found an existing function(getMinFromExprs) in LoopAccessAnalysis which compares two SCEVs. getMinFromExprs function finds the diff between two SCEV's and then checks for the negative
2018 May 10
0
ScalarEvolution questions
Hi Ashutosh, On Wed, May 9, 2018 at 3:28 AM, Nema, Ashutosh via llvm-dev <llvm-dev at lists.llvm.org> wrote: > I’m new to ScalarEvolution and wanted to explore its capabilities. > > I have following few questions: > > 1) How to compare SCEV expressions. > > I have a situation to compare two SCEV to find the min among them. > > Found an existing
2004 Jun 26
1
passwd + shadow auth problem
Hi! here is the problem , i have local users some have shadow password, some not, so i must create two auth one to login via shadow , and one via passwd so here is my config file (stripped comments): protocols = imap imaps pop3 pop3s imap_listen = 192.168.0.2 pop3_listen = 192.168.0.2 imaps_listen = 192.168.0.2 pop3s_listen = 192.168.0.2 login = imap login = pop3 auth = default auth_mechanisms
2023 Nov 24
0
Dear friends from the United States
I hope this message finds you well and thriving in your endeavors. As a fellow Vietnamese student currently pursuing education in the United States, I can't help but feel a sense of pride and excitement about the prospect of inviting you to experience the beauty and charm of my homeland, Vietnam. Vietnam is a land of captivating landscapes, rich history, and warm hospitality. From the
2018 May 10
2
ScalarEvolution questions
Thanks Sanjoy, I'll look into this. -----Original Message----- From: Sanjoy Das [mailto:sanjoy at playingwithpointers.com] Sent: Thursday, May 10, 2018 8:07 AM To: Nema, Ashutosh <Ashutosh.Nema at amd.com> Cc: llvm-dev at lists.llvm.org Subject: Re: [llvm-dev] ScalarEvolution questions Hi Ashutosh, On Wed, May 9, 2018 at 3:28 AM, Nema, Ashutosh via llvm-dev <llvm-dev at
2006 Jun 05
3
Mongrel Pre-Release 0.3.13 -- Katana Suicide Concurrency
We are *days* away from the official 0.3.13 release, which will be followed quickly by 0.4 code named Enterprisey Edition 1.2. This latest pre-release update closes off the last of the annoying bugs, and adds one very nasty feature people should check out before we release. Read about Katanas below. ** This release doesn''t have win32 yet. That''ll be uploaded Monday. ** WHAT
2009 May 06
1
Samba group management understanding
Hello all, I want to set up a share for a project (enseign) First thing I did is to create a group for that project (with smbldap-groupadd) and add project members to that group. Then I created a test_smb directory on my linux server with the following access rights: drwxrwx--- 2 gbayard enseign 4096 avr 29 15:03 /test_smb Note: the idea is that only group members should be able to
2018 May 16
0
ScalarEvolution questions
Hi Sanjoy, Your inputs really helped. Using “isImpliedCond”, able to relate and find the min for cases like: SCEV1: (-1 + (sext i32 %n.addr.058 to i64))<nsw> SCEV2: 0 Extra-Condition: (n.addr.058 > 7) Result: ‘0’ (SCEV2) I have another case where trying to find min between two SCEVs under an extra condition. “isImpliedCond” is not helping for below case, may be I’m missing something:
2007 Nov 21
3
[LLVMdev] Add/sub with carry; widening multiply
I've been playing around with llvm lately and I was wondering something about the bitcode instructions for basic arithmetic. Is there any plan to provide instructions that perform widening multiply, or add with carry? It might be written as: mulw i32 %lhs %rhs -> i64 ; widening multiply addw i32 %lhs %rhs -> i33 ; widening add addc i32 %lhs, i32 %rhs, i1 %c -> i33 ; add with carry