Re: [OpenAFS] No buffer space available

2013-07-23 Thread Derrick Brashear
Is anything in the kernel message buffer when this happens? On Tue, Jul 23, 2013 at 7:11 AM, Hans-Werner Paulsen < h...@mpa-garching.mpg.de> wrote: > Hello, > sometimes creating a file (using different programs) fails with the error > message "No buffer space available". This is on amd64_linux26

[OpenAFS] Re: No buffer space available

2013-07-23 Thread Andrew Deason
On Tue, 23 Jul 2013 11:40:53 -0500 Andrew Deason wrote: > On Tue, 23 Jul 2013 13:11:17 +0200 > Hans-Werner Paulsen wrote: > > > sometimes creating a file (using different programs) fails with the > > error message "No buffer space available". This is on amd64_linux26 > > with OpenAFS 1.6.2 (bot

Re: [OpenAFS] Re: How can I get PAG number of a certain process programmically?

2013-07-23 Thread Russ Allbery
Andrew Deason writes: > Link this with -lafsauthent -lafsrpc, I believe. Yeah, sorry. > Or use the k_pioctl function from kopenafs.h, and link with -lkopenafs. Yes, that also works, although you still need some of the same headers to get the VIOC_* definition. -- Russ Allbery (r...@stanford.

[OpenAFS] Re: No buffer space available

2013-07-23 Thread Andrew Deason
On Tue, 23 Jul 2013 13:11:17 +0200 Hans-Werner Paulsen wrote: > sometimes creating a file (using different programs) fails with the > error message "No buffer space available". This is on amd64_linux26 > with OpenAFS 1.6.2 (both client and server). Any idea? I don't see anywhere we'd be generati

[OpenAFS] Re: How can I get PAG number of a certain process programmically?

2013-07-23 Thread Andrew Deason
On Tue, 23 Jul 2013 07:38:50 -0700 Russ Allbery wrote: > #include > #include > #include > #include > #include > > int > main(void) > { > struct ViceIoctl iob; > afs_uint32 pag; > int code; > > iob.in = NULL; > iob.in_size = 0; > iob.out = (void *) &pag; > iob.ou

Re: [OpenAFS] How can I get PAG number of a certain process programmically?

2013-07-23 Thread Russ Allbery
shuaijie wang writes: > In AFS, separate processes can be put into different PAGs, my question > is: How can I get the PAG number of certain process programically? #include #include #include #include #include int main(void) { struct ViceIoctl iob; afs_uint32 pag; int code;

[OpenAFS] No buffer space available

2013-07-23 Thread Hans-Werner Paulsen
Hello, sometimes creating a file (using different programs) fails with the error message "No buffer space available". This is on amd64_linux26 with OpenAFS 1.6.2 (both client and server). Any idea? Best regards, HW -- Hans-Werner Paulsen h...@mpa-garching.mpg.de MPI für Astrophysik