T.R | Title | User | Personal Name | Date | Lines |
---|
9671.1 | ObjectStore error? | GIDDAY::STRAUSS | talking through my binoculars | Wed Apr 30 1997 18:44 | 20 |
| Hi Ludmila
I think this message may come from ObjectStore, not UNIX.
errno 22 is ...
#define EINVAL 22 /* Invalid argument */
The man page for munmap(2) says that EINVAL can occur if ...
[EINVAL] The addr parameter is not a multiple of the page size as
returned
by sysconf(_SC_PAGE_SIZE).
Beyond that I don't know if we can help him much. He should talk to
his ObjectStore support organsiation (I hope that's not us ;-)
Hope this helps
leon
|
9671.2 | unmapping error | NNTPD::"[email protected]" | Larry Woodman | Thu May 01 1997 10:24 | 20 |
| Probably what is happening here is that when a single file or anonymous
memory gets mmaped it uses one map entry and the unmap is only a subset
file that got mapped, in the center of the address space that was mapped.
This uses 2 map entries for the remaining pieces of the address space.
Can you verify whether or not this is happening???
after mmap() after munmap()
------------------------- ------------------------------
| mapped | | mapped | unmapped | mapped |
------------------------- ------------------------------
^ ^ ^
| | |
one map entry one map enrty one map entry
Larry Woodman
[Posted by WWW Notes gateway]
|
9671.3 | | NNTPD::"[email protected]" | Shashi Mangalat | Fri May 02 1997 01:36 | 14 |
| This is a known problem. In addition to increasing the mapentries limit
you will also need one of the following patches (depending on which OS release
you have installed).
V4.0 : OSF400-200
V4.0A : OSF405-400200
V4.0B : OSF410-052
This fixes a regression in the munmap() system call. ObjectStore is unmapping
regions that are not mapped (which is really a bug in their code), so munmap()
fails the request.
--shashi
[Posted by WWW Notes gateway]
|
9671.4 | Solution | NNTPD::"mala@ stl.dec.com" | Ludmila Mala | Sun May 04 1997 22:32 | 11 |
| Firstly, I want to thanks everybody for their contribution.
I have learned more about mapentries that I ever wanted to know. However my
problems
was little bit more devious then that, he had the entry in the configuration
file entered
a wrong way. Getting that stright fixed the problem, now I'll just patch him
up.
Thanks for help.
[Posted by WWW Notes gateway]
|