search for: nbuf

Displaying 20 results from an estimated 25 matches for "nbuf".

Did you mean: buf
2015 Sep 21
5
segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages
...c("aa: ", rep(letters, length.out=10000)), collapse="") writeLines(dcf, "test.dcf") nchar(read.dcf("test.dcf")) # aa # [1,] 8186 The culprit being line 53 in src/main/dcf.c where the author of the Rconn_getline2() function only copies 'nbuf' chars from 'buf' to 'buf2' when in fact 'nbuf + 1' chars have been stored in 'buf' so far. Quickest fix: Index: src/main/dcf.c =================================================================== --- src/main/dcf.c (revision 69404) +++ src/main/dcf.c (working c...
2015 Sep 21
0
segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages
...t; # [1,] 8186 > I don't see that in R 3.2.2 on OSX or 3.2.2 patched on Windows: > nchar(read.dcf("test.dcf")) aa [1,] 10000 Duncan Murdoch > The culprit being line 53 in src/main/dcf.c where the author of the > Rconn_getline2() function only copies 'nbuf' chars from 'buf' to 'buf2' > when in fact 'nbuf + 1' chars have been stored in 'buf' so far. > > Quickest fix: > > Index: src/main/dcf.c > =================================================================== > --- src/main/dcf.c (revision 6...
2015 Sep 21
2
segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages
Here's an update: I checked the ChangeLog for R, and it seems like readDCF was changed in 3.0.2. I went on a whim and copied src/main/dcf.c from R 2.15.3 over to 3.2.2, and R compiled fine and install.packages now work for me. This is probably not ideal, but it at least makes R usable on AIX for me. Would definitely like to help figure out what's wrong with the new dcf.c on AIX.
2014 Jul 18
2
python-shout 0.2.1 with icecast 2.4.0 segfaults
...version %s" % shout.version() s.host = 'localhost' s.password = 'passwood' s.mount = "/jukebox.ogg" s.open() total = 0 st = time.time() for fa in sys.argv[1:]: print "opening file %s" % fa f = open(fa) s.set_metadata({'song': fa}) nbuf = f.read(4096) while 1: buf = nbuf nbuf = f.read(4096) total = total + len(buf) if len(buf) == 0: break s.send(buf) s.sync() f.close() et = time.time() br = total*0.008/(et-st) print "Sent %d bytes in %d seconds (...
2005 Jan 06
0
[2.6 patch] fs/ext3/: possible cleanups
...*, char *); -extern int ext3_statfs (struct super_block *, struct kstatfs *); #define ext3_std_error(sb, errno) \ do { \ if ((errno)) \ __ext3_std_error((sb), __FUNCTION__, (errno)); \ } while (0) -extern const char *ext3_decode_error(struct super_block *sb, int errno, char nbuf[16]); /* * Inodes and files operations --- linux-2.6.10-mm2-full/fs/ext3/super.c.old 2005-01-06 23:23:39.000000000 +0100 +++ linux-2.6.10-mm2-full/fs/ext3/super.c 2005-01-06 23:28:34.000000000 +0100 @@ -50,6 +50,13 @@ static void ext3_clear_journal_err(struct super_block * sb, struct...
2003 Apr 06
1
load testing and tuning a 4GB RAM server
...(15K RPM drives) for speed * User Data is on Raid 5 in a detached PowerVault Contents of /boot/loader.conf: kern.ipc.maxsockets=32768 kern.ipc.nmbclusters=32768 kern.ipc.nmbufs=131072 kern.ipc.nsfbufs=6656 kern.ipc.shm_use_phys=1 kern.maxfiles=32768 kern.maxproc=8192 kern.maxswzone=33554432 kern.nbuf=16384 kern.ncallout=32768 kern.vm.kmem.size=268435456 kern.vm.pmap.shpgperproc=2048 net.inet.tcp.tcbhashsize=16384 Contents of /etc/sysctl.conf: kern.ip.somaxconn=4096 vm.v_free_min=131072 vm.v_free_target=262144 vm.f_free_reserved=32768 vm.v_free_severe=65536 kern.ps_showallprocs=0 Some info fr...
2020 Aug 18
0
[PATCH nbdkit 3/9] server: Add general replacements for missing functions using LIBOBJS.
...(ssize_t)(ptr - *buf); + if (diff != 0) { + *ptr = '\0'; + return diff; + } + } + return -1; + } + *ptr++ = c; + if (c == delimiter) { + *ptr = '\0'; + return ptr - *buf; + } + if (ptr + 2 >= eptr) { + char *nbuf; + size_t nbufsiz = *bufsiz * 2; + ssize_t d = ptr - *buf; + if ((nbuf = realloc (*buf, nbufsiz)) == NULL) + return -1; + *buf = nbuf; + *bufsiz = nbufsiz; + eptr = nbuf + nbufsiz; + ptr = nbuf + d; + } + } +} + +#endif diff --git a/common/replacements/...
2020 Aug 20
0
[PATCH nbdkit 01/13] common/replacements: Replace missing functions using LIBOBJS.
...(ssize_t)(ptr - *buf); + if (diff != 0) { + *ptr = '\0'; + return diff; + } + } + return -1; + } + *ptr++ = c; + if (c == delimiter) { + *ptr = '\0'; + return ptr - *buf; + } + if (ptr + 2 >= eptr) { + char *nbuf; + size_t nbufsiz = *bufsiz * 2; + ssize_t d = ptr - *buf; + if ((nbuf = realloc (*buf, nbufsiz)) == NULL) + return -1; + *buf = nbuf; + *bufsiz = nbufsiz; + eptr = nbuf + nbufsiz; + ptr = nbuf + d; + } + } +} + +#endif diff --git a/common/replacements/...
2003 Sep 11
0
squid+wccp No buffer space available
...tions SHMMNI=32 options SHMMAX=2097152 options SHMALL=4096 options MAXDSIZ="(2048UL*1024*1024)" options MAXSSIZ="(2048UL*1024*1024)" options DFLDSIZ="(2048UL*1024*1024)" options NMBCLUSTERS=65535 options NBUF=16384 When I am port-forwarding the traffic to the squid without wccp the machine is stable and works fine. The problem appears after setting squid with wccp and bringing gre interfaces. I've tried different settings but with no effect. The squid passes arround 20 mbits/s with over 100 req/s....
2006 Dec 15
5
[XENOPROFILE] Xenoprof passive profiling broken under cs 13062
Renato, If one creates an HVM domain (say domain 1) and then does echo 1 > /dev/oprofile/passive_domains one then gets the following on the Xen serial console: (XEN) xenoprof.c:143:d0 xenoprof/x86 with autotranslated mode enabledisn''t supported yet (XEN) xenoprof.c:143:d0 xenoprof/x86 with autotranslated mode enabledisn''t supported yet (XEN) xenoprof.c:143:d0
2013 Mar 28
1
Makefile race condition with parallel make
When attempting to build syslinux in parallel (make -j5), I encountered the following error at the end: rm -f liblpxelinux.a ar cq liblpxelinux.a rawcon.o ./fs/pxe/dhcp_option.o ./fs/pxe/pxe.o ./fs/pxe/tftp.o ./fs/pxe/urlparse.o ./lwip/src/netif/ethernetif.o ./lwip/src/netif/etharp.o ./lwip/src/netif/slipif.o ./lwip/src/netif/ppp/md5.o ./lwip/src/netif/ppp/randm.o ./lwip/src/netif/ppp/chpms.o
2007 Feb 22
13
5.1 surround channel coupling
>Yesterday I have finished writing the ambisonic pan filter for oggenc. May I ask what this "pan filter" is? I made some tentative suggestions for coupling Ambisonic B-format in a post "Vorbis Ambisonic coupling" on 4feb07 I gather from the last monthly meeting, that some of you, including Monty, had problems with the phase behaviour of B-format. Would anyone like a
2019 Jun 07
1
Problem with opusfile & ndk
Hi Xiph.org Team. We are using opusfile library <https://github.com/xiph/opusfile> for streaming *.opus* audio in our projects. But now we have a problem with building opusfile library for android with *ndk-build*. In particular, with arm64-v8a platform: Google removed <sys/timeb.h> from android. And now building opusfile with nkd-build crashes with error "fatal error:
2019 Jan 14
6
[PATCH nbdkit incomplete 0/5] Port to Windows.
This is an incomplete port to Windows. Currently the server compiles and starts up successfully, but goes into an infinite loop when you connect to it. Nevertheless I think the approach is ready for feedback. This being Windows the changes go quite deep. Rich.
2011 Aug 15
9
[patch v2 0/9] btrfs: More error handling patches
Hi all - The following 9 patches add more error handling to the btrfs code: - Add btrfs_panic - Catch locking failures in {set,clear}_extent_bit - Push up set_extent_bit errors to callers - Push up lock_extent errors to callers - Push up clear_extent_bit errors to callers - Push up unlock_extent errors to callers - Make pin_down_extent return void - Push up btrfs_pin_extent errors to
2011 Oct 04
68
[patch 00/65] Error handling patchset v3
Hi all - Here''s my current error handling patchset, against 3.1-rc8. Almost all of this patchset is preparing for actual error handling. Before we start in on that work, I''m trying to reduce the surface we need to worry about. It turns out that there is a ton of code that returns an error code but never actually reports an error. The patchset has grown to 65 patches. 46 of them
2020 Aug 18
15
[PATCH nbdkit 0/9] Port to Windows.
Also available here: https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw This is the port to Windows using native Windows APIs (not MSYS or Cygwin). This patch series is at the point where it basically now works. I can run the server with the memory plugin, and access it remotely using guestfish, creating filesystems and so on without any apparent problems. Nevertheless there are many
2020 Aug 20
15
[PATCH nbdkit 0/13] Port to Windows without using a separate library.
Also available here: https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw-nolib After a lot of work I have made the port to Windows work without using a separate library. Instead, on Windows only, we build an "import library" (library of stubs) which resolves references to nbdkit_* functions in the main program and fixes up the plugin, basically the first technique outlined in
2012 Jul 16
2
[PATCH V4] NEW API: add new api xfs_info
Add xfs_info to show the geometry of the xfs filesystem. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- Hi Rich, I got an odd error, can you help me with this error or give me a debug method? Thanks, Wanlong Gao daemon/Makefile.am | 1 + daemon/xfs.c | 278 +++++++++++++++++++++++++++++++ generator/generator_actions.ml
2008 Mar 24
4
Ati Low Perfomance
...lrx(0): Capabilities: 0x00000000 (==) fglrx(0): CapabilitiesEx: 0x00000000 (==) fglrx(0): cpuFlags: 0x8000001d (==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so" (**) fglrx(0): ATI GART size: 256 MB (II) fglrx(0): [pcie] 258048 kB allocated (II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 65536 (**) fglrx(0): UseFastTLS=2 (==) fglrx(0): BlockSignalsOnLock=1 (--) Depth 24 pixmap format is 32 bpp (II) do I need RAC? No, I don't. (II) resource ranges after preInit: [0] 0 0 0xfe0f0000 - 0xfe0fffff (0x10000) MX[B] [1] 0 0 0xc0000000 - 0xcfffffff (0x10000000) MX[B]...