Vim and especially gvim stops responding and utilizes 100% of cpu upon opening big js files (1000+ lines). Pressing ctrl+c stops the process, whatever vim does during trying to open the file, displays the file contents -all folded into a single fold- and each character input in insert mode takes minutes to display
on the screen.
Hello all ,
i need some help asap
i have a program that keeps killing the machine
when i did google searches and 2 days later i ran strace
it seems the programm keeps making a system call to gettimeofday
to i guess increment a counter ?
gettimeofday({1347986584, 464904}, NULL) = 0
rt_sigprocmask(SIG_UNBLOCK, [], NULL, 8) = 0
poll([{fd=4, events=POLLIN}, {fd=0, events=POLLIN}], 2, 4
Hello all ,
i need some help asap
i have a program that keeps killing the machine
when i did google searches and 2 days later i ran strace
it seems the programm keeps making a system call to gettimeofday
to i guess increment a counter ?
Code:
gettimeofday({1347986584, 464904}, NULL) = 0
rt_sigprocmask(SIG_UNBLOCK, [], NULL, 8) = 0
poll([{fd=4, events=POLLIN}, {fd=0, events=POLLI
What is the right way to poll from differents AWS SQS in the same process?
Suppose I have a ruby script: listen_queues.rb and run it.
Should I need to create threads to wrap each SQS poll or start sub processes?
t1 = Thread.new do
queue1.poll do |msg| ....
end
t2 = Thread.new do
queue2.poll do |msg| ....
end
t2.join
I tried this code, but the poll is not receiving any of the mes
The documentation of poll() did not explain this in detail. While polling on an fd, when should one POLLIN and when should one use POLLPRI? Any insights will be useful.
For some reason recently I've been getting this error in my apache error log on my server. We have a single instance of memcached running on our Mac OSX 10.7 server.
(20014)Internal error: Unknown memcached error while writing: Could not find specified socket in poll list.
I can't find anything about this error message online :.
I have a LAMP server running with a large database serving a large number of requests. If things start slowing down, how do I tell if the bottleneck is the database, the processor, disk I/O, or bandwidth, or something else? How do I do this on a live server, ie, I don't want to take things down for benchmarking.
Performed strace on one one of the apache children and its showing 24 seconds between two system calls.How can i determine what is the cause of this behavior.It looks like both children are taking almost same amound of time(24.7 and 23.92) seconds.
we are using apache prefork with php5 and mysql 5
/var/lib/php5/ is the php session folder
strace output of apache children1 with processid -20539
I am running apache2 (2.2) on Ubuntu on a VPS with 768MB of RAM. For some reason it takes several seconds to load any page (even static html). The only component I can blame is Apache. However, I have no idea why it is acting that way. I even installed NewRelic to see if maybe it would help me diagnose the problem in a more visual and friendly format.