You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Je suis la poubelle <la...@gmail.com> on 2010/06/18 14:44:11 UTC
Suggestion for web site: stating out requirement for running Apache
DS
Hi,
I think the Apache Directory Server part in the web site should
have written more informations on requirement. At least, it should
write out that a minimum of 450MB *additional* memory is required to
run ApacheDS service.
Moreover, just like Apache directory browser, Apache DS also
needs JRE in *32bit* version to run, even if the underlying OS is in
64 bits.
Regards
Re: Suggestion for web site: stating out requirement for running
Apache DS
Posted by Je suis la poubelle <la...@gmail.com>.
Shouldn't someone file a bug for this "memory over-consumption",
by the way?
Re: Suggestion for web site: stating out requirement for running
Apache DS
Posted by Je suis la poubelle <la...@gmail.com>.
I've just installed Tomcat 6.0.26 as a test. It worths note that
its server is launched within a file called tomcat6.exe instead of
java.exe (when you need to find it with task manager).
Here's the table summarizing the differences. Hope this could
give you some help:
AD server NT service
commit charge: 450MB
java.exe: 153MB
AD server "bare"
commit charge: 84MB
java.exe: 35MB
Tomcat 6.0.26
commit charge: 44MB
tomcat6.exe: 29MB
Re: Suggestion for web site: stating out requirement for running Apache DS
Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
I have no idea.
I will try to look at it.
On 18 juin 2010, at 18:16, Je suis la poubelle wrote:
> Tomcat is also installed as an NT service by default. Does it
> also use Tanuki?
>
>
> On Fri, Jun 18, 2010 at 18:13, Pierre-Arnaud Marcelot <pa...@marcelot.net> wrote:
>> Thanks.
>>
>> But, we can't bundle this file in the final package as this file is not licensed under the Apache License.
>>
>> However, we could probably provide to users a bat script which uses this file (if it is available on the user's machine) to install Apache DS as a service.
Re: Suggestion for web site: stating out requirement for running
Apache DS
Posted by Je suis la poubelle <la...@gmail.com>.
Tomcat is also installed as an NT service by default. Does it
also use Tanuki?
On Fri, Jun 18, 2010 at 18:13, Pierre-Arnaud Marcelot <pa...@marcelot.net> wrote:
> Thanks.
>
> But, we can't bundle this file in the final package as this file is not licensed under the Apache License.
>
> However, we could probably provide to users a bat script which uses this file (if it is available on the user's machine) to install Apache DS as a service.
Re: Suggestion for web site: stating out requirement for running Apache DS
Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Thanks.
But, we can't bundle this file in the final package as this file is not licensed under the Apache License.
However, we could probably provide to users a bat script which uses this file (if it is available on the user's machine) to install Apache DS as a service.
On 18 juin 2010, at 18:09, Je suis la poubelle wrote:
> On Fri, Jun 18, 2010 at 17:57, Pierre-Arnaud Marcelot <pa...@marcelot.net> wrote:
>>
>> Interesting. Thanks for the link.
>> Unfortunately it requires an additional installation of the "Resource Kit".
>> But, probably something we could use on Windows if we want to replace Tanuki.
>
> As far as I understand it, you install the "resource kit" during development:
> http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd
>
> Once installed, you could just *pick out* whatever files suit you and
> put them in your package. That's what's done with my company's
> software.
>
> If you don't want to "install" the resource kit, I could send you just
> the instsrv.exe and srvany.exe files. That's all you need.
Re: Suggestion for web site: stating out requirement for running
Apache DS
Posted by Je suis la poubelle <la...@gmail.com>.
On Fri, Jun 18, 2010 at 17:57, Pierre-Arnaud Marcelot <pa...@marcelot.net> wrote:
>
> Interesting. Thanks for the link.
> Unfortunately it requires an additional installation of the "Resource Kit".
> But, probably something we could use on Windows if we want to replace Tanuki.
As far as I understand it, you install the "resource kit" during development:
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd
Once installed, you could just *pick out* whatever files suit you and
put them in your package. That's what's done with my company's
software.
If you don't want to "install" the resource kit, I could send you just
the instsrv.exe and srvany.exe files. That's all you need.
Re: Suggestion for web site: stating out requirement for running Apache DS
Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
On 18 juin 2010, at 17:35, Je suis la poubelle wrote:
> If it's possible to launch AD server without its being an NT
> service, I think we could know how much memory Tanuki is using.
Supposedly, 400 - 67 = 333 MB, as Apache DS run with no wrapper only requires 67 MB, as I said in my previous mail.
But, that seems really really weird...
> On the other hand, I use srvany.exe to create a service:
> http://support.microsoft.com/kb/137890
>
> This wrapper is very light.
Interesting. Thanks for the link.
Unfortunately it requires an additional installation of the "Resource Kit".
But, probably something we could use on Windows if we want to replace Tanuki.
Thanks,
Pierre-Arnaud
Re: Suggestion for web site: stating out requirement for running
Apache DS
Posted by Je suis la poubelle <la...@gmail.com>.
On Fri, Jun 18, 2010 at 17:48, Emmanuel Lecharny <el...@gmail.com> wrote:
> On 6/18/10 5:35 PM, Je suis la poubelle wrote:
>
>> On the other hand, I use srvany.exe to create a service:
>> http://support.microsoft.com/kb/137890
>>
>
> Sadly, not an option as this is not something we can package... License
> issue ...
Too bad.
Re: Suggestion for web site: stating out requirement for running
Apache DS
Posted by Emmanuel Lecharny <el...@gmail.com>.
On 6/18/10 5:35 PM, Je suis la poubelle wrote:
> If it's possible to launch AD server without its being an NT
> service, I think we could know how much memory Tanuki is using.
>
I'm pretty sure that ADS itself requires less than 64Mb. There must be
something fishy with Tanuki...
> On the other hand, I use srvany.exe to create a service:
> http://support.microsoft.com/kb/137890
>
Sadly, not an option as this is not something we can package... License
issue ...
--
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com
Re: Suggestion for web site: stating out requirement for running
Apache DS
Posted by Je suis la poubelle <la...@gmail.com>.
On Fri, Jun 18, 2010 at 17:39, Stefan Seelmann <se...@apache.org> wrote:
> On Fri, Jun 18, 2010 at 5:35 PM, Je suis la poubelle <la...@gmail.com> wrote:
>> If it's possible to launch AD server without its being an NT
>> service, I think we could know how much memory Tanuki is using.
>
> Yes, you can use the zip archive, it includes an apacheds.bat to start
> the server. You can download the zip archive from download page.
>
OK, I've just done a test with "bare" server, ie no NT service, in the
same machine.
Difference in "commit charge" is 84MB while "memory usage" column for
java.exe is 35MB.
Re: Suggestion for web site: stating out requirement for running
Apache DS
Posted by Stefan Seelmann <se...@apache.org>.
On Fri, Jun 18, 2010 at 5:35 PM, Je suis la poubelle <la...@gmail.com> wrote:
> If it's possible to launch AD server without its being an NT
> service, I think we could know how much memory Tanuki is using.
Yes, you can use the zip archive, it includes an apacheds.bat to start
the server. You can download the zip archive from download page.
Re: Suggestion for web site: stating out requirement for running
Apache DS
Posted by Je suis la poubelle <la...@gmail.com>.
If it's possible to launch AD server without its being an NT
service, I think we could know how much memory Tanuki is using.
On the other hand, I use srvany.exe to create a service:
http://support.microsoft.com/kb/137890
This wrapper is very light.
On Fri, Jun 18, 2010 at 16:49, Pierre-Arnaud Marcelot <pa...@marcelot.net> wrote:
> Indeed.
> That's interesting.
>
> What a strange OS....
>
> Definitely something that should be investigated.
>
> We've run a little test with Emmanuel and it seems the cause of this overhead in memory consumption is the daemon wrapper we're using (Tanuki).
> Launching ApacheDS within Apache Directory Studio (which does not use the wrapper) only requires 67 MB of memory (http://drp.ly/1dCj92).
Re: Suggestion for web site: stating out requirement for running Apache DS
Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Indeed.
That's interesting.
What a strange OS....
Definitely something that should be investigated.
We've run a little test with Emmanuel and it seems the cause of this overhead in memory consumption is the daemon wrapper we're using (Tanuki).
Launching ApacheDS within Apache Directory Studio (which does not use the wrapper) only requires 67 MB of memory (http://drp.ly/1dCj92).
Regards,
Pierre-Arnaud
On 18 juin 2010, at 16:26, Je suis la poubelle wrote:
> Yes, I saw the same thing as in your screen shot. However, by
> experience with XP, I've learnt to look at "commit charge" at the
> bottom of the dialog, though I've really no idea what that's supposed
> to mean and what difference is there from "memory usage" column.
>
> Yours in the image is 576MB when ADS is running. Try to stop ADS
> service and do a calculation. You'll see the difference will be about
> 400MB.
>
>
> On Fri, Jun 18, 2010 at 15:46, Pierre-Arnaud Marcelot <pa...@marcelot.net> wrote:
>> Hi,
>>
>> I just checked memory usage for Apache DS and here's what I got:
>> - 157 MB on Windows XP (http://drp.ly/1dBqb4)
>> - 126 MB on Mac OS X (http://drp.ly/1dBr8b)
>>
>> Ok... Not 64 MB, but closer to it than 400 MB.
>>
>> Emmanuel, maybe we should have a look at what is taking that much memory footprint.
Re: Suggestion for web site: stating out requirement for running
Apache DS
Posted by Je suis la poubelle <la...@gmail.com>.
Yes, I saw the same thing as in your screen shot. However, by
experience with XP, I've learnt to look at "commit charge" at the
bottom of the dialog, though I've really no idea what that's supposed
to mean and what difference is there from "memory usage" column.
Yours in the image is 576MB when ADS is running. Try to stop ADS
service and do a calculation. You'll see the difference will be about
400MB.
On Fri, Jun 18, 2010 at 15:46, Pierre-Arnaud Marcelot <pa...@marcelot.net> wrote:
> Hi,
>
> I just checked memory usage for Apache DS and here's what I got:
> - 157 MB on Windows XP (http://drp.ly/1dBqb4)
> - 126 MB on Mac OS X (http://drp.ly/1dBr8b)
>
> Ok... Not 64 MB, but closer to it than 400 MB.
>
> Emmanuel, maybe we should have a look at what is taking that much memory footprint.
Re: Suggestion for web site: stating out requirement for running Apache DS
Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Hi,
I just checked memory usage for Apache DS and here's what I got:
- 157 MB on Windows XP (http://drp.ly/1dBqb4)
- 126 MB on Mac OS X (http://drp.ly/1dBr8b)
Ok... Not 64 MB, but closer to it than 400 MB.
Emmanuel, maybe we should have a look at what is taking that much memory footprint.
Regards,
Pierre-Arnaud
On 18 juin 2010, at 15:18, Je suis la poubelle wrote:
> On Fri, Jun 18, 2010 at 14:54, Emmanuel Lecharny <el...@gmail.com> wrote:
>> The problem is that ADS run perfectly well with 64Mb. Why would we mention
>> that 450Mb is required ?
>
> Are you sure of that? Because when I check Windows' task
> manager, it's clear that stopping Apache DS service frees up to 450MB
> of memory!
>
> And when ADS service is starting, the hard disk is running real a
> lot, meaning that there're a lot of swap. So I can't say "ADS is
> running *perfectly well* with 64MB".
Re: Suggestion for web site: stating out requirement for running
Apache DS
Posted by Emmanuel Lecharny <el...@gmail.com>.
On 6/18/10 3:18 PM, Je suis la poubelle wrote:
> On Fri, Jun 18, 2010 at 14:54, Emmanuel Lecharny<el...@gmail.com> wrote:
>
>> The problem is that ADS run perfectly well with 64Mb. Why would we mention
>> that 450Mb is required ?
>>
> Are you sure of that? Because when I check Windows' task
> manager, it's clear that stopping Apache DS service frees up to 450MB
> of memory!
>
> And when ADS service is starting, the hard disk is running real a
> lot, meaning that there're a lot of swap. So I can't say "ADS is
> running *perfectly well* with 64MB".
>
Hmmm, may be I was a bit optimistic when I said 64Mb. Back to v 1.0, it
could be run with as low as 15 Mb of mem. Now, it became a bit fatter,
but 450 Mb !
We have to investigate that.
--
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com
Re: Suggestion for web site: stating out requirement for running
Apache DS
Posted by Je suis la poubelle <la...@gmail.com>.
On Fri, Jun 18, 2010 at 14:54, Emmanuel Lecharny <el...@gmail.com> wrote:
> The problem is that ADS run perfectly well with 64Mb. Why would we mention
> that 450Mb is required ?
Are you sure of that? Because when I check Windows' task
manager, it's clear that stopping Apache DS service frees up to 450MB
of memory!
And when ADS service is starting, the hard disk is running real a
lot, meaning that there're a lot of swap. So I can't say "ADS is
running *perfectly well* with 64MB".
Re: Suggestion for web site: stating out requirement for running
Apache DS
Posted by Emmanuel Lecharny <el...@gmail.com>.
On 6/18/10 2:44 PM, Je suis la poubelle wrote:
> Hi,
>
> I think the Apache Directory Server part in the web site should
> have written more informations on requirement. At least, it should
> write out that a minimum of 450MB *additional* memory is required to
> run ApacheDS service.
>
The problem is that ADS run perfectly well with 64Mb. Why would we
mention that 450Mb is required ?
> Moreover, just like Apache directory browser, Apache DS also
> needs JRE in *32bit* version to run, even if the underlying OS is in
> 64 bits.
>
true. It will be added.
Thanks for the feedback.
--
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com