similar to: Failing to understand getrusage()

Displaying 20 results from an estimated 130 matches similar to: "Failing to understand getrusage()"

2000 Jun 15
1
problem in entropy.c if no getrusage
entropy.c assumes RUSAGE_SELF and RUSAGE_CHILDREN *** entropy.c.orig Thu Jun 15 13:57:28 2000 --- entropy.c Thu Jun 15 13:58:25 2000 *************** *** 201,207 **** --- 201,209 ---- total_entropy_estimate += stir_gettimeofday(1.0); total_entropy_estimate += stir_clock(0.2); + #ifdef HAVE_GETRUSAGE total_entropy_estimate += stir_rusage(RUSAGE_SELF, 2.0); + #endif
2003 Jun 27
3
alternate system clock has died
Hi, I'm getting the message in the subject when I run systat -vm on a lightly loaded server. Top shows interesting CPU usage %: CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 0.0% idle Some Googling tells me that a fix for this went in around 1998 in sys/i386/isa/clock.c, see http://www.geocrawler.com/archives/3/159/1998/7/0/777198/ (fix verified to be present in
2005 Sep 07
2
ee using 99% cpu after user ssh session terminates abnormaly
Recently i have been using a dialup 56k account to access the net and have noticed that when my ssh session times out and I am editing a file in ` ee ' the system goes to 99% cpu usage and stays like this till the pid is killed. This is a standard user account (not root/su) Would a user be able to create a denial of service condition on the remote system using this bug? (sorry if this is
2003 Apr 01
1
LOG_AUTHPRIV and the default syslog.conf
Hello, Some time ago I wrote PR conf/48170, which discussed the following problem: Syslog messages of facility LOG_AUTHPRIV and priority LOG_NOTICE (or higher) are sent by default to the world-readable log file /var/log/messages. That seems unacceptable since the facility LOG_AUTHPRIV is for hiding sensitive log messages inside a protected file, e.g., /var/log/auth.log. For example, login(1)
2003 Jul 30
1
kernel panic
Yesterday I had a kernel panic on a FreeBSD 4.7 system. Looking at the core dump, it was caused by a corrupted uidinfo pointer referenced by a tcp pcb. I searched through the archives and found an identical stack trace in this message from 2000: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=322837+0+archive/2000/freebsd-s table/20000625.freebsd-stable This was apparently fixed by a patch
2010 Oct 04
0
Python resource module returns just zeros
I'm using a call to the resource module's getrusage method. On openSUSE this works, on CentOS [python26-2.6.5-3.el5] it 'works' but just returns zeros for the memory utilization values. resource.getrusage(resource.RUSAGE_SELF).ru_maxrss openSUSE: returns 5512 CentOS: returns 0 Anyone know what condition causes this? Or is there a better / more-reliable way to check memory
2023 Jan 14
1
[klibc:time64] resource: Avoid using <linux/resource.h>
Commit-ID: d4ab7343978bbec7141f8462236ba6a47574205f Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=d4ab7343978bbec7141f8462236ba6a47574205f Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Sat, 14 Jan 2023 03:15:20 +0100 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sat, 14 Jan 2023 18:09:28 +0100 [klibc] resource: Avoid using
2009 Jan 29
2
GTalk Channel
Hello all, It used to work on calling my GTalk ID from another GTalk user. But now that I tried calling it again, the caller hears only a ringtone and disconnected after a few rings. The messages on my Asterisk-1.4.21.2 are the following: [Jan 29 10:37:51] ERROR[1303]: rtp.c:1945 ast_rtp_new_with_bindaddr: Unexpected bind error: Cannot assign requested address [Jan 29 10:37:51] WARNING[1303]:
2007 Jan 24
1
Query about extracting subset of datafram
Hi I have a table read from a mysql database which is of the kind clusterid clockrate I obtained this table in R as clockrates_table <-sqlQuery(channel,"select...."); I have a function within which I wish to extract the clusterid for a given cluster. Although I know that there is just one row per clusterid in the data frame, I am using subset to extract the clockrate. clockrate =
2006 Nov 07
1
[resolved] asterisk 1,4 and google talk
hi, it turns out that the iksemel library (which i installed using an rpm) was returning 0 when the function iks_has_tls() was called. it should return 1 otherwise res_jabber.o thinks gnuTLS is not installed. i confirmed this by running a test program i wrote, that calls iks_has_tls . it returned 0. i downloaded iksemel source, compiled it and now the test program returned 1. now,
2006 Jul 11
1
Query about getting averages across a certain parameter in a table
Hi I have a table that goes data cluster_ac clockrate age class 7337 0.9 0.001 alpha_proteins 7888 0.1 0.78 beta proteins etc The class column can have 7-8 different unique values While the clockrate and age columns are floats varying from 0 to 1. I wish to get the average clockrate across each of the classes for this data. I would appreciate your help
2009 Aug 12
0
Problem with Linux x86_64 RODBC and Netezza (PR#13889)
Full_Name: Kenneth Cater Version: 2.9.1 OS: Linux x86_64 Submission from: (NULL) (171.159.192.10) It appears that R closes my connection to the Netezza device before the Netezza has completed its return of data, below are two files clean_test.log which tracks the systems call made when running the test.r file, and clean_test.out which is the output generated when test.r is executed. Notice how
2003 Sep 29
2
cisco AS5300 : problem configuration
I wouldn't expect you to be using RFC3389 if your using A-law, can you include your IOS version and IOS config file ... I have not specified any allow's or disallow's in my * config for the codecs with my 5300, I also use Cisco 79xx phones and I use the option within the phones config file to select the preffered codec and when I change this to G.729/A-law/U-law all works perfectly
2006 May 15
20
[PATCH 0/3] xenoprof fixes
These patches address issues in the kernel part of xenoprof: * Ill-advised use of on_each_cpu() can lead to sleep with interrupts disabled. * Race conditions in active_domains code. * Cleanup of active_domains code. Comments welcome. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2011 Feb 22
0
Advice/suggestions on using a stacked barplot with "zoo"?
I'm not sure I'm using appropriate tools for what I'm trying to do; a reason for my lack of certainty is that I'm encountering difficulty with what I thought would be fairly simple: labeling the X axis of my graphs with human-readable timestamps. I'm using R 2.12.1, running in a FreeBSD 8.2-PRERELEASE r218945 environment. As I mentioned in a previous note, I working with data
2007 Apr 01
1
No Audio with Gtalk
I configured my * with the instructions found here http://www.voip-info.org/wiki/view/Asterisk+Google+Talk to work with gtalk. The Phone rings and connects - but no audio! I am using a self-compiled asterisk 1.4.2 There is a lot of output on the CLI but I can't make sense of it. Perhaps somebody can help? Michael Output from the CLI: JABBER: gtalk_account OUTGOING: <iq
2000 Nov 02
2
misc. minor patches
I've had these laying about for a while, can't remember whether I sent them before. diff -u openssh-2.1.1p1.orig/entropy.c openssh-2.1.1p1/entropy.c --- openssh-2.1.1p1.orig/entropy.c Wed Jun 7 08:20:23 2000 +++ openssh-2.1.1p1/entropy.c Thu Jun 15 13:58:25 2000 @@ -201,7 +201,9 @@ total_entropy_estimate += stir_gettimeofday(1.0); total_entropy_estimate +=
2011 Apr 16
5
Google Voice receiving call problem
Hello, I have a Google Voice phone number and want to connect it to my asterisk box to have calls handled to my SIP account. When I call the number I receive the correct INCOMING request on Jabber portion of asterisk, but the call is not connected to the gtalk part. JABBER: asterisk INCOMING: <iq from="+ 17174695631 at voice.google.com/srvres-MTAuMTc2LjEwOC4xNjo5ODQ4" to="
2009 Apr 30
3
need help on asterisk call forwarding
Hello, I am trying to enable call forwarding feature on asterisk 1.6.0.9 with asterisk-gui. Sure there is no menu for that on gui but, when i try to write some example scripts to extensions.conf to make it work. I totally failed. I dont wanna install smthing like freepbx etc on the system so, i need help to add unconditional etc call forwarding feature for 1.6 Thanks
2013 Aug 23
1
Setting Up LVS to Load Balance DNS
Greetings, all: OS: CentOS 6.4 x86_64 Kernel: 2.6.32-358.14.1 I could use some assistance with setting up pulse to load balance my dns servers. I've configured tcp and udp port 53 with the piranha gui, set up arptable rules on the real servers and added the virtual ip to the bond0 interface on the real servers, but I'm still having no luck in getting things going. A dig against the