11 Replies Latest reply: May 29, 2008 5:26 PM by Aspak
CastleMonkey Level 1 Level 1 (0 points)
Per John Anderson1 I'm cross posting this question here.
The original thread can be found here
http://discussions.apple.com/thread.jspa?threadID=1325220&tstart=0


------------------
I'm having horrible performance issues with the wiki. Not just the calendar.
My server hosts a handful of low traffic virtual hosts, which all load quite speedily (not using cache).

The wiki itself is painfully slow. The list of groups https://myserver.com/groups takes a full minute to load. The login also takes at least a full minute to load in best case scenarios, more often then not when multiple staff members try to access it (2 - 10 at a time) it's simply unresponsive.

I've tested from the server itself using Safari just to eliminate the bandwidth variable despite various other tests. It's the same performance.

It's to the point we're going to have to find something else to use, since it's unusable in it's current state.

The only thing I see in the logs are variations of this message over and over.

an 14 12:04:19 felix DirectoryService26: Potential VM growth in DirectoryService since client PID: 0, has 575 open references when the warning limit is 500.
Jan 14 12:04:20 felix DirectoryService26: Potential VM growth in DirectoryService since client PID: 0, has 600 open references when the warning limit is 500.
Jan 14 12:04:21 felix DirectoryService26: Potential VM growth in DirectoryService since client PID: 0, has 625 open references when the warning limit is 500.
Jan 14 12:04:22 felix DirectoryService26: Potential VM growth in DirectoryService since client PID: 0, has 650 open references when the warning limit is 500.
Jan 14 12:04:23 felix DirectoryService26: Potential VM growth in DirectoryService since client PID: 0, has 675 open references when the warning limit is 500.
Jan 14 12:04:24 felix DirectoryService26: Potential VM growth in DirectoryService since client PID: 0, has 700 open references when the warning limit is 500.

Is there a connection?

Xserver, Mac OS X (10.5.1), OD Master, Wiki, Chat, Web services
  • 1. Re: Wiki Performance - unusable - OD problem?
    CastleMonkey Level 1 Level 1 (0 points)
    There does appear to be a connection.
    By killing the DirectoryService "killall -9 DirectoryService"
    the responsiveness of the wiki, blogs, and calendars are nearly instantaneous.
    However, less than a minute later the error messages begin flying again, this time jumping immediately into the thousands.

    (Still no resolution.)

    Jan 23 00:18:58 felix DirectoryService[4896]: Potential VM growth in DirectoryService since client PID: 0, has 1250 open references when the warning limit is 500.
    Jan 23 00:18:58 felix DirectoryService[4896]: Potential VM growth in DirectoryService since client PID: 0, has 1275 open references when the warning limit is 500.
    Jan 23 00:18:58 felix DirectoryService[4896]: Potential VM growth in DirectoryService since client PID: 76, has 625 open references when the warning limit is 500.
    Jan 23 00:18:58 felix DirectoryService[4896]: Potential VM growth in DirectoryService since client PID: 0, has 1300 open references when the warning limit is 500.
    Jan 23 00:18:59 felix DirectoryService[4896]: Potential VM growth in DirectoryService since client PID: 0, has 1325 open references when the warning limit is 500.
    Jan 23 00:18:59 felix DirectoryService[4896]: Potential VM growth in DirectoryService since client PID: 76, has 650 open references when the warning limit is 500.
    Jan 23 00:18:59 felix DirectoryService[4896]: Potential VM growth in DirectoryService since client PID: 0, has 1350 open references when the warning limit is 500.
    Jan 23 00:18:59 felix DirectoryService[4896]: Potential VM growth in DirectoryService since client PID: 0, has 1375 open references when the warning limit is 500.
    Jan 23 00:18:59 felix DirectoryService[4896]: Potential VM growth in DirectoryService since client PID: 76, has 675 open references when the warning limit is 500.
    Jan 23 00:18:59 felix DirectoryService[4896]: Potential VM growth in DirectoryService since client PID: 0, has 1400 open references when the warning limit is 500.
    Jan 23 00:19:00 felix DirectoryService[4896]: Potential VM growth in DirectoryService since client PID: 0, has 1425 open references when the warning limit is 500.
  • 2. Re: Wiki Performance - unusable - OD problem?
    eric_egger Level 1 Level 1 (0 points)
    I am experiencing the same issue on a brand new xserver. Directoryservices take jump to 50% to 75% Cpu utilization when using wiki/blog.

    I followed the same steps installing OSX Server on an iMac as I did on the Xserver and the iMac does not have this issue!!! I dont get this error on the iMac

    Potential VM growth in DirectoryService since client PID: 0
  • 3. Re: Wiki Performance - unusable - OD problem?
    Paul Nord Level 1 Level 1 (15 points)
    I'm seeing exactly the same thing here.
  • 4. Re: Wiki Performance - unusable - OD problem?
    CastleMonkey Level 1 Level 1 (0 points)
    Just an update. After more than 3 months since filing my case with Apple over this issue and having my emails ignored I've finally managed to speak to a supervisor who then spoke to the engineer associated with this case.

    The gist:
    Apple is happy that I bought 3 beefy Xserves, an Xraid and tons of client machines, upgrades to Leopard and extended warranty/support.
    Apple is very sorry that their support monkey didn't both to respond for months.
    Apple is aware of this issue.
    Apple has had other reports of this issue.
    Apple assigns engineers based on how widespread an issue is.
    Apple has no idea of when this issue will be corrected - if ever.
    Apple has no recommended course of action for me.

    I'm screwed.
  • 5. Re: Wiki Performance - unusable - OD problem?
    Paul Nord Level 1 Level 1 (15 points)
    Please keep us posted.

    What'dz your support contract with Apple Look like?
  • 6. Re: Wiki Performance - unusable - OD problem?
    CastleMonkey Level 1 Level 1 (0 points)
    This is the support contract - http://www.apple.com/support/products/premium.html

    I've contact my account manager (Oman Morales) as per suggested by Jeremy in Apple Enterprise Support. As Jeremy explained there was nothing he could do since the engineers were unable or unwilling to assist or even diagnose further and that perhaps Oman could light a fire on the other end.

    I actually emailed Oman asking him to call me about the issues. Then I let several days go by and after no email or phone call (Apples new trademark move I'm discovering) I call him. He's not taken the time to familiarize himself with the issue. So I spend half an hour rehashing and explaining the epic saga.
    He apologizes, mentions he'll speak with his supervisor, yada yada.

    In addition he tells me he can get authorized 3rd party Apple consultants to come on site and fix the issue.

    Wait for it....

    This isn't covered by the warranty, or extended warranty/support. And I'd have to pay for it. To which I respond with disgust of course. I tell him that 3rd party consultants would be acceptable if they can promptly address the issue. But Apple is paying for it. Which of course prompts Oman to begin his "I'll go through the channels I have available" speech.

    That conversation took place Friday (4/4/08) so you know nothing was done. Todays Monday same thing I'm sure.
  • 7. Re: Wiki Performance - unusable - OD problem?
    CastleMonkey Level 1 Level 1 (0 points)
    My account rep, Oman just called. He's spoken directly with Jeremy in Enterprise support.

    The call was primarily to keep me in the loop. Oman has allegedly filed for an escalation and at some point it will be either approved or denied. The time frame for even that preliminary step is unknown.

    Oman seemed pretty confident that the Apple engineers are working on the problem, but then again Oman is in sales. I'm not holding my breath.

    I really need to start blogging about this fiasco.
  • 8. Re: Wiki Performance - unusable - OD problem?
    Barrett Hartman1 Level 2 Level 2 (175 points)
    Have you tried removing any SACLs in ServerAdmin -> Web -> Sites ->Virtual Domain (Site) -> Web Services? I was having the same issue as you with the 15+ second wiki page load times. I finally got some time to try and get to the bottom of things and dropped Directory Services into debug mode. It turns out that if you have any users in the ServerAdmin -> Web -> Sites ->Virtual Domain (Site) -> Web Services SACL their contact information gets loaded on each page load. At the time I had a group with around 300 users in it. I know have a group with only the wiki owners in it that I have in the wiki SACL. You can still have ACLs in place by setting a user as the owner of the wiki/blog in the Directory app. You can also set who in a group can contribute to the wiki and who can read. My pages now load in 1-2 seconds.

    I figure it is something you can try while waiting for a response from enterprise support.

    Best of luck!

    - Barrett
  • 9. Re: Wiki Performance - unusable - OD problem?
    eric_egger Level 1 Level 1 (0 points)
    I have heard rumors that this may be address in 10.5.3
  • 10. Re: Wiki Performance - unusable - OD problem?
    dano_twt Level 1 Level 1 (0 points)
    Your suggestion to remove the SACLs in ServerAdmin worked like a charm. Thanks for the post, helped me out in my situation.
  • 11. Re: Wiki Performance - unusable - OD problem?
    Aspak Level 1 Level 1 (5 points)
    I`ve upgraded to 10.5.3 and still the same.. :-/
    I`m very dissapointed.

    The responsivenes of wikis is really slow.
    Eventhough I removed all groups and users from the Server Admin..

    I`m running 10.5.3 Server on a G4 Mac Mini 1.25 GHz..