Good point. But I don't see any additional problems with IPC naming
here. The only problem is that we assign db_ids statically. If we
assigned them dynamically, the whole IPC interval would still depend on
the number of concurrently running dbs, which is remaining small enough.
So, this should be easy to fix. Right?
---
Alex.
On 12/02/2010 12:27 AM, ZNV wrote:
Hey, did anyone re-worked IPC naming design recently?
Several years ago it was implemented simply as a base number + an
integer number preassigned to the particular IPC object at compile time.
Since a few preassigned numbers are reserved for every database
instance increasing the max number of databases to 10000 inflates the
range of preassigned numbers greatly.
This doesn't affect resource consumption in any way however the
probability of naming conflict with IPC objects that don't belong to
Sedna is increased.
You known SYS V uses integer "keys" to identify objects.
Normally such a key is obtained from ftok instead of using some
arbitrary number.
There could be other issues as well since no one ever tested or even
considered the number of databases being increased so high.
2010/12/2 Malcolm Davis <[email protected] <mailto:[email protected]>>
Clearing the build directory remedy the problem. I'm very much a
novice at
the C/C++ build on a Linux box. My bad.
1. Thank you very much for the quick response to all the
questions. (I am
very impressed and grateful.)
2. I changed MAX_DBS_NUMBER from 10 to 10000. Everything is working.
Malcolm
-----Original Message-----
From: Alexander Kalinin [mailto:[email protected]
<mailto:[email protected]>]
Sent: Wednesday, December 01, 2010 4:59 PM
To: Malcolm Davis
Cc: [email protected]
<mailto:[email protected]>
Subject: Re: [Sedna-discussion] Make failure on ubuntu 10.10 x64
Ivan has already suggested the next step. Just want to add that it
seems the
cmake library variables were defined incorrectly in the first run.
All consecutive runs just keep reading the same incorrect result.
If a clean
run suggested by Ivan fails, send us CMakeCache.txt as well, please.
---
Alexander Kalinin
Sedna Team.
On 12/01/10 16:23, Malcolm Davis wrote:
> ubu...@ip-10-202-141-179:~/sedna-3.4.66/bld$ cmake
--debug-output --trace
..
> Running with debug output on.
> Running with trace output on.
>
> -----Original Message-----
> From: Alexander Kalinin [mailto:[email protected]
<mailto:[email protected]>]
> Sent: Wednesday, December 01, 2010 3:18 PM
> To: Malcolm Davis
> Cc: [email protected]
<mailto:[email protected]>
> Subject: Re: [Sedna-discussion] Make failure on ubuntu 10.10 x64
>
> Could you run cmake as "cmake --debug-output --trace" and send
us the
> output?
>
> ---
> Alexander Kalinin,
> Sedna Team.
>
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today
with the
Intel(R) Software Partner Program. Five $500 cash prizes are up
for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Sedna-discussion mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/sedna-discussion
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion