Sudden and strange change in GC behaviour

I see very strange GC behaviour with our application running by one of our customers, but I fail to reproduce it in lab. Most of the time the application is running just fine, and suddenly GC may start doing absolutely strange things.
Firstly, it starts running mostly major collections (normally one major collection in a few hours under the same user load)
81703.7: [GC 81703.7: [DefNew: 737664K->737664K(760704K), 0.0000446 secs]81703.7: [Tenured: 2173068K->588301K(2350848K), 13.0162284 secs] 2910732K->588301K(3111552K), 13.0167844 secs]
81730.7: [GC 81730.7: [DefNew: 737664K->319K(760704K), 0.0544614 secs] 2205198K->1467853K(3111552K), 0.0548729 secs]
81746.8: [GC 81746.8: [DefNew: 735966K->735966K(760704K), 0.0000519 secs]81746.8: [Tenured: 2347147K->580785K(2350848K), 9.9294041 secs] 3083113K->580785K(3111552K), 9.9300118 secs]
The size of used memory suggests that objects get allocated directly to Tenured Generation. Secondly, collections become much more frequent (from 150-200 secs to 10-20 sec gap between collections). All together produce an astonishing rate of memory usage (acquired memory per second) of 50-100 MB/sec (normally it is about 2MB/sec). On the other hand, major collections take much less time, from 40 sec to 6-8 sec, which is good.
I do not see anything happening on the server that could explain such a major jump in memory usage! Also, the users do not see any significant and sudden change in response time. But over time it definitely affects performance (mostly because of frequent major collections) and the server needs to restart to get back to normal.
JVM version 1.4.1._02 on Solaris 8, parameters:
-Xms3000000 �Xmx3000000 -XX:NewRatio=3
I cannot reproduce it in test environment, so I cannot try a different JVM version and need to know why it happens before changing any JVM parameters (the current set looks a bit conservative but it works fine most of the time)

I see very strange GC behaviour with our application
running by one of our customers, but I fail to
reproduce it in lab. Most of the time the application
is running just fine, and suddenly GC may start doing
absolutely strange things.
Firstly, it starts running mostly major collections
(normally one major collection in a few hours under
the same user load)
81703.7: [GC 81703.7: [DefNew:
737664K->737664K(760704K), 0.0000446 secs]81703.7:
[Tenured: 2173068K->588301K(2350848K), 13.0162284
secs] 2910732K->588301K(3111552K), 13.0167844 secs]
81730.7: [GC 81730.7: [DefNew:
737664K->319K(760704K), 0.0544614 secs]
2205198K->1467853K(3111552K), 0.0548729 secs]
81746.8: [GC 81746.8: [DefNew:
735966K->735966K(760704K), 0.0000519 secs]81746.8:
[Tenured: 2347147K->580785K(2350848K), 9.9294041
secs] 3083113K->580785K(3111552K), 9.9300118 secs]
As you noticed, objects are getting allocated directly in the
Tenured Generation. (As background for those of our
readers new to reading GC logs:
The occupancy of the Tenured(Old) generation following the
completion of the GC at 81730.7 is (1467853 - 319)K =
1467534 K. Now look at the Occupancy of the Tenured
generation at the start of the GC at 81746.8; it is
2347147 K. That means that between these two
collections, 879613 K (or about 870 MB) was directly
allocated into the old generation.)
More about that direct allocation in the old generation later.
But a consequence of the fact that the old generation is so full,
is that the remaining free space is insufficient to allow the worst
case promotion from the young generation to succeed. As a result
a scavenge is not attempted, but rather a full compacting GC is
done instead.
Two things now.
First, if you use a more recent version of the JVM (1.5.0_06 i believe)
and set -XX:+HandlePromotionFailure, then you need not be hobbled
by the pessimistic worst-case promotion causing a full collection
to happen, when in fact a scavenge might indeed have succeeded
and sufficed. (see
http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html#0.0.0.0.%20Young%20Generation%20Guarantee%7Coutline
or Google "Sun JVM Young Generation Guarantee").
Second, and coming back to the direct allocation issue, this
may be caused by one of two possible factors:
. it could be that your program is trying to allocate very large
objects in Eden that would not fit there and require
allocating directly in the much larger old generation.
Think about the kinds of data structures you have in your program.
Do you have largish hashmaps (which typically grow by doubling --
that could be one reason for a very large allocation request. Use
+PrintClassHistogram to understand the kinds of data structures
extant in your heap and their sizes; once again the document I mentioned
above or Google "HotSpot JVM PrintClassHistogram" or check out
Joe Mocker's HotSpot options list for how to use itL:
http://blogs.sun.com/roller/resources/watt/jvm-options-list.html
. it could also be that your application is making heavy use of
serialization (for example), or through some other means (perhaps
directly through JNI) executing JNI critical sections which may be
locking out GC for an extended period of time. In older JVM's this
could translate into extremely poor mutator (application) performance
until the critical section is exited. The reason is that GC is locked
out in the interim and once Eden fills up, allocations go slow-path to
the old generation.
The latter has been addressed in later JVM's; please try 1.5.0_06 for example
and let us know your experience.
Finally, it would seem as though your application needs a
large Java heap and you want to avoid excessive GC costs/pauses.
Consider running with the mostly concurrent collector especially
if you have some concurrent processing power to spare on your
deployment platform. Please refer to:
http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html#0.0.0.%20The%20Concurrent%20Low%20Pause%20Collector%7Coutline
The size of used memory suggests that objects get
allocated directly to Tenured Generation. Secondly,
collections become much more frequent (from 150-200
secs to 10-20 sec gap between collections). All
together produce an astonishing rate of memory usage
(acquired memory per second) of 50-100 MB/sec
(normally it is about 2MB/sec). On the other hand,
major collections take much less time, from 40 sec to
6-8 sec, which is good.
I do not see anything happening on the server that
could explain such a major jump in memory usage!
Also, the users do not see any significant and sudden
change in response time. But over time it definitely
affects performance (mostly because of frequent major
collections) and the server needs to restart to get
back to normal.
JVM version 1.4.1._02 on Solaris 8, parameters:
-Xms3000000 �Xmx3000000 -XX:NewRatio=3
I cannot reproduce it in test environment, so I
cannot try a different JVM version and need to know
why it happens before changing any JVM parameters
(the current set looks a bit conservative but it
works fine most of the time)

Similar Messages

  • Firefox recently became unable to handle a number of tasks in Facebook. I understand there are a lot of compatibilty issues, but this is a sudden and dramatic change within the last 3-4 days.

    Examples - no longer able to access "older posts" - it simply jumps back to the top of the page - works fine in Explorer.
    Can't retrieve game gifts - works fine in Explorer.
    Can't post a new status message - works fine in Explorer.
    Can't send game gifts - works fine in Explorer.
    All of these things worked perfectly well a few days ago. I haven't been able to find a way to bring Facebook's attention to the matter, so I am approaching from the other direction. I'd really rather not be required to use Explorer to look at Facebook....
    I believe I have the latest version of Flash, but am about to double check - wanted to go ahead and post this before I have to close Firefox for the install. Still, that should not be affecting the news feed or my ability to post messages, should it?

    Well, call me dumb. Reinstalled Flash, and somehow that appears to have fixed the problem with facebook... Sorry for taking up the band width...

  • IPhoto suddenly doesn't seem to recognize my camera, and essentially freezes. The only thing that makes sense is that another person in my house imported using a different camera and that changed things somehow. Ideas?

    iPhoto suddenly doesn't seem to recognize my camera, and essentially freezes. The only thing that makes sense is that another person in my house imported using a different camera and that changed things somehow. Ideas?

    Hi There!
    The camera is a Panasonic Lumix. I don't have a USB card reader. I did try and different port although not a different cable.
    I did remember one additional thing. I plugged my camera in at work to a PC. It was after that, when I came home, that the iPhoto wasn't working when I connected my camera to our iMac/iPhoto at home. I think this may have caused the problem.
    Cheers!

  • My iPad was hacked through Words With Friends. Suddenly the tiles change and the points quadruple and I can't get control of the game.  I deleted the app, but how can I make sure the virus hacker is gone?

    iPad hacked from Words With Friends. Game suddenly appears in control.  Not responsive. Suddenly my tiles change, then the points quadruple. I deleted the app, but would really like to continue playing with my family.  How can I get rid of this hacker and or virus on my iPad?

    Since it has happened previously, it is likely someone you know or who has access to your systems, or has access to recovery information with that game vendor. I seem to recall that vendor being called out for account security issues in the past, but can't say for sure.On the other hand, the symptoms you describe do not necessarily mean you have been "hacked", could be just that something is amiss with the app.
    You may wish to reach to the app vendor and see what sort of support it offers.

  • My Imac desktop screen suddenly started to change colors and pattern appeared

    My Imac desktop screen started to "flip out", things were moving around and strange patterns filled everything on the screen. After a minute it stopped. Is this a warning sign of a hard drive meltdown?

    Contact Apple Service, iMac Service or Apple's Express Lane. Do note that if you have AppleCare's protection plan and you're within 50 miles (80 KM) of an Apple repair station, you're eligible for onsite repair since yours is a desktop machine.
    BTW, 10.6.1?

  • Dynamic Creation of cells or change of cell behaviour of a table at runtime

    Hello all,
    Can anybody tell me how can we change the cell behaviour of a table at runtime or creating the table row with different cell properties dynamically at runtime in ABAP webdynpro.
    for ex the table at runtime can be like...
    The 1st row the 1st cell can be a check box.
    The 2nd row the 1st cell can be a input field.
    The 3rd row the 1st cell can be a radio selection field.
    Business Ex : Dynamic Attributes in BID Invitation
    Thanks in advance in clarifying the doubt.

    Hi Mani,
    You could use code similar to the following code in your WDDOMODIFY method of the view in which the table is placed.
    data wd_table_cell_editor type ref to cl_Wd_view_element.
      data wd_table_column      type ref to cl_wd_table_column.
    wd_table_cell_editor ?= view->get_element( ID ). (Or any other way to get the refernce to the table cell editor)
    wd_table_column ?= wd_table_cell_editor->get__parent( ).
    (Get a refernce to table column throught table cell editor or directly)
    Now use the set_cell_editor method of wd_table_column to set the column to check box or input or any other field of your requirement.
    Also, I suggest you to use ALV as it is simpler change the cell editor and it provides many other improved functionalities.
    Regards,
    Srini.

  • Calendar font and color change no reason

    I am attempting to create a calendar with the new Iphoto and I have to say it is harder to use then the old one. I am trying to manually enter birthdays. Typed couple of entries with Hoefler Text size 8 and worked. All of a sudden tried typing in another date, same month, and Font changed color to orange and is larger but same Hoefler Text setting and size 8 still appear. What am I doing wrong? how do I fix?

    There are a few animated titles with fonts that cannot be changed.  Lens Flare is one of them.
    Here's more information:
    http://support.apple.com/kb/PH2212?viewlocale=en_US
    Matt

  • Why did my iPhone (not PCs) suddenly require a change in POP/SMTP server spec's for one (only one) of my email accounts?

    Hello! Why has my (iPhone only) POP and SMTP settings suddenly changed for one (oddly only one) of my email sub-accounts? -It changed from "incoming.verizon.net" and "outgoing.verizon.net" to pop.verizon.net and smtp.verizon.net, respectively, ALL BY ITSELF!?
    For example, I have had two verizon email accounts on my iPhone for some time, each originally set up with the default "incoming.verizon.net" and "outgoing.verizon.net" for receive/sending email.  Suddenly, without my changing anything in my settings, my "[account-1]" account would not work via iPhone (yet still worked via desktop PC)- it was not until I completely deleted the "[account-1]" account from my iPhone and recreated it that it would work, HOWEVER, iPhone AUTO-creation process for this POP account settings now picked up "pop.verizon.net" and smtp.verizon.net" instead of the previous standard "incoming.verizon.net" and "outgoing.verizon.net" settings.  (Yet "incoming.verizon.net" and "outgoing.verizon.net" is still necessary for all other verizon accounts, as well as for my "[account-1]" on desktop PCs)  Has someone, for example, affected (illegally...?) a redirection of my "[account-1]" mail through other servers...?  NOTE: ALL my acocunts have been using the incoming 995 and outgoing 465 ports for some time without problems until this issue started a couple days ago.

    Hello! Why has my (iPhone only) POP and SMTP settings suddenly changed for one (oddly only one) of my email sub-accounts? -It changed from "incoming.verizon.net" and "outgoing.verizon.net" to pop.verizon.net and smtp.verizon.net, respectively, ALL BY ITSELF!?
    For example, I have had two verizon email accounts on my iPhone for some time, each originally set up with the default "incoming.verizon.net" and "outgoing.verizon.net" for receive/sending email.  Suddenly, without my changing anything in my settings, my "[account-1]" account would not work via iPhone (yet still worked via desktop PC)- it was not until I completely deleted the "[account-1]" account from my iPhone and recreated it that it would work, HOWEVER, iPhone AUTO-creation process for this POP account settings now picked up "pop.verizon.net" and smtp.verizon.net" instead of the previous standard "incoming.verizon.net" and "outgoing.verizon.net" settings.  (Yet "incoming.verizon.net" and "outgoing.verizon.net" is still necessary for all other verizon accounts, as well as for my "[account-1]" on desktop PCs)  Has someone, for example, affected (illegally...?) a redirection of my "[account-1]" mail through other servers...?  NOTE: ALL my acocunts have been using the incoming 995 and outgoing 465 ports for some time without problems until this issue started a couple days ago.

  • HT201441 If the previous end-user passed away suddenly and did not leave the password word with anyone, how then can the device be wiped?

    My company issues iPads to certain staff for their line of work.  If the previous end-user passed away suddenly and did not leave their iCloud password word with anyone, how then can the device be wiped.  Currently we cannot turn off the iCloud, change the user, update the iOS, nor update our apps.  Can the local Apple Store assist in some way?

    I think Winston hit the nail.  I imagine the issue is you allowed the person to set up personal and private accounts on the device, not corporate controlled accounts.  As such, regardless of your ownership of the device, Apple will not release or change personal or private account-related information to you.
    Whether they would or not to a direct family member, I do not know, but I highly doubt they will (or legally can) do so to you as the employer for a personal account.
    I know such instances have come up in the past with things like company phones and such, both involving Apple as well as other companies.  The reported results in news articles were always that private information is private, and if companies want access or control, then they need to restrict employees use to only corporate provided accounts and services.

  • Apple Mail font  and colour changes while typing!

    I'm having an issue whereby the font and colour changes back to the default while I'm typing an email!
    I have several signatures.  When I select a signature and start typing, at apparently random moments, the font reverts to the default!
    This will happen when I'm typing a line and, when it changes, if I cmd-z to undo my typing character by character - at some random point it suddenly reverts back to the signature font and colour.
    Has anyone else experienced this, and is there a cause and/or solution?
    Thanks,
    Geoff

    I'm having an issue whereby the font and colour changes back to the default while I'm typing an email!
    I have several signatures.  When I select a signature and start typing, at apparently random moments, the font reverts to the default!
    This will happen when I'm typing a line and, when it changes, if I cmd-z to undo my typing character by character - at some random point it suddenly reverts back to the signature font and colour.
    Has anyone else experienced this, and is there a cause and/or solution?
    Thanks,
    Geoff

  • ITunes Suddenly Malfunctioning Strangely & Randomly - Hard to Describe

    In the last few days, my iTunes that has been stable as a rock has started malfunctioning randomly and strangely. It's one of those situations where it's fine for a while and then silently craps out with no apparent cause.
    The first telltale sign is that my Podcasts list will suddenly have an gray exclamation point next to every single entry - same as a failed update when a remote server related to a given podcast is down, except it's every single item. It's as if iTunes has fallen off the network, but the machine is fine and has never lost a connection.
    When it's in this state, my iPhone will also fail to sync with any of several different error messages (one involves being unable to read or write from disk, etc). My AppleTV might also be inaccessible - I've not thought to check for certain.
    A number of times in this state, hitting Apple-Q was also totally ignored. I have to select Quit from the File menu with the mouse. Any number of other things in iTunes behave oddly, too.
    If I do quit and immediately restart it, though, it comes back with no complaints and functions fine in every way. Syncs, podcasts update, etc. Turn your head for a bit and next time I check, odds are good it's out to lunch again as described above.
    The issue is so broad across its various behaviors with such a mix of error messages that I've not yet spotted a pattern. I don't know whether to say its related to interaction with my AppleTV or iPhone, something network related... it all has me pretty perplexed.
    Anyone else seen something similar? Whatever the case, I can pretty much rely on it happening again any minute now. I'll try to be more systematic in what I poke and prod each time until I can zero in on a pattern.
    - Aaron

    I've had two more instances of what I described above in the last couple of hours. This time I ran into it before the Podcasts had a chance to all fail. Apparently they hadn't tried to do a scheduled update since whatever happens happened, but clicking refresh causes them all to fail and results in the exclamation points mentioned above.
    In addition, re-docking my iPhone resulted in some message about possibly having too many files open. Hitting sync a second time resulted in a different message about the disc not being found. Then another message about not being able to read or write to the disk. Blah blah blah.
    I clicked on my AppleTV and then hit its sync button. No errors. It just vanished completely from the Devices list as if it had never been there.
    No file I double-click will play.
    So far, these are all the things I've experienced in previous incarnations of this problem.
    iTunes is also not responding to Apple-Q to quit when it's the active app. I need to use the File menu with the mouse to get it to quit.
    Once I restart it, all will be well until it happens again.
    I don't see any hung processes in the Activity Monitor including iTunes. Everything seems fine, except iTunes is "doing it again".
    No, I don't need repair file permissions. Did that earlier (and, frankly, I find that to be voodoo more often than not).
    Anyone else?
    - Aaron

  • Sudden color temperature change when opening some programs

    I got this sudden color temperature change when I open Photoshop, Maya and a few other games. When I quit the programs the color goes back to normal. It first started happening once a while and I didn't really notice, but now it's become a regular thing... I think it begun after upgrading to Yosemite. It's quite uncomfortable to my eyes but it's bearable. I'm just concerned whether it's a sign for something worse. Please please help!
    I took photos of before and after the color change, basically it becomes much brighter and more blueish.

    Did you ever find a solution for this? It recently started for me too, and it's already getting on my nerves First I thought it was because of dynamically switching the graphics card but unfortunately it happens when I use it on an external monitor only (and thus is locked to the Radeon card)...

  • I know exactly what my restrictions passcode is meant to be (I have even written it down) but it has strangely changed itself. I cannot delete apps anymore.

    I know exactly what my restrictions passcode is meant to be (I have even written it down) but it has strangely changed itself. I cannot delete apps anymore and it has been getting on my nerves. I am worried that I will lose my purchased films and books and my pages documents if I perform a factory restore. What do I do?

    To remove the Restrictions passcode you will need to either...
    Restore the Device as New...
    http://support.apple.com/kb/HT4137
    OR...
    from a Backup created Before the Restrictions Code was set....
    Restore from Backup
    http://support.apple.com/kb/ht1766

  • Why my Laptop close suddenly and a battery quickly ends?

    Hi,
    Why my Laptop close suddenly and a battery quickly ends?
    I contact a charge with a laptop for 20-25 min and than the battery became full.
    But after five to ten minutes I see the percentage of battery go very quickly to 70 % and than to 50% suddenly shut down. Again I contact a charger to laptop. This problem in laptop started for 12 days.
    Tell me what should I do? I'm using laptop every day to study, is that reason?
    My friend told me maybe the battery need to change; I bought my laptop in 2012! It is not a long time. Mac OS C Version 10.6.8
    I'm not an expert in electronic devices, but Do you think that there is another reason to close it suddenly or laptop battery quickly ends?
    Is Mac Center provides service "change a battery" in the same day?  Or I have to send my laptop and waiting a long time?

    What you describe sounds like a hardware issue. Unfortunately, you'll need to get that checked out by Apple. If you have an Apple Store near you, make an appointment with the Genius Bar and take the machine in for evaluation.

  • User permissions for wiki and calendar changed by themselves?

    I am hoping I can describe this behavior properly. I add a new group using an administrator's account logged into the web interface. I go to that groups settings page and delegate group admins and read/write and read only users. I add a bunch of calendaring appointments into the calendar and all is good. One of the users logs in and adds her own calendaring information as well and modifies the wiki pages. Fast forward a week or so and now she is only read, she cannot edit wiki pages and cannot interact with the calendar.
    Here are the verbose logs from wiki services:
    2011-03-28 14:58:41-0700 [-] [caldav-8011] [QueryProtocol,client]
    [calendarserver.provision.root#debug] Wiki lookup returned user:
    blahblah
    2011-03-28 14:58:41-0700 [-] [caldav-8011] [QueryProtocol,client]
    [calendarserver.provision.root#debug] Wiki user record for user
    blahblah :
    <OpenDirectoryRecord[users@058167af-ace8-519a-ac3d-e166498db024(/Search->/LDAPv3 /127.0.0.1)]
    C1EF4B6C-178A-4937-A8D3-AF535400FC3F(blahblah) 'blahblah'>
    2011-03-28 14:58:41-0700 [-] [caldav-8011] [QueryProtocol,client]
    [calendarserver.provision.root#debug] Wiki-authenticated principal
    C1EF4B6C-178A-4937-A8D3-AF535400FC3F being assigned to authnUser
    2011-03-28 14:58:41-0700 [-] [caldav-8011] [QueryProtocol,client]
    [calendarserver.provision.root#debug] Wiki principal servicedepartment
    being assigned to authzUser
    2011-03-28 14:58:41-0700 [-] [caldav-8011] [QueryProtocol,client]
    [twistedcaldav.directory.wiki.WikiDirectoryService#info] Returning
    existing wiki record with UID wiki-servicedepartment
    2011-03-28 14:58:41-0700 [-] [caldav-8011] [QueryProtocol,client]
    [twistedcaldav.directory.wiki.WikiDirectoryService#info] Returning
    existing wiki record with UID wiki-servicedepartment
    2011-03-28 14:58:41-0700 [-] [caldav-8011] [QueryProtocol,client]
    [twistedcaldav.directory.wiki.WikiDirectoryService#info] Returning
    existing wiki record with UID wiki-servicedepartment
    2011-03-28 14:58:41-0700 [-] [caldav-8011] [QueryProtocol,client]
    [twistedcaldav.extensions#info] REPORT
    /calendars/_uids_/wiki-servicedepartment/calendar/ HTTP/1.1
    2011-03-28 14:58:41-0700 [-] [caldav-8011] [-]
    [calendarserver.provision.root#debug] Wiki principal servicedepartment
    being assigned to authzUser
    2011-03-28 14:58:41-0700 [-] [caldav-8011] [-]
    [twistedcaldav.directory.wiki.WikiDirectoryService#info] Returning
    existing wiki record with UID wiki-servicedepartment
    2011-03-28 14:58:41-0700 [-] [caldav-8011] [-]
    [twistedcaldav.directory.wiki.WikiDirectoryService#info] Returning
    existing wiki record with UID wiki-servicedepartment
    2011-03-28 14:58:41-0700 [-] [caldav-8011] [-]
    [twistedcaldav.directory.wiki.WikiDirectoryService#info] Returning
    existing wiki record with UID wiki-servicedepartment
    2011-03-28 14:58:41-0700 [-] [caldav-8011] [-]
    [twistedcaldav.directory.wiki#debug] Looking up Wiki ACL for: user
    [C1EF4B6C-178A-4937-A8D3-AF535400FC3F], wiki [servicedepartment]
    2011-03-28 14:58:41-0700 [-] [caldav-8011] [QueryProtocol,client]
    [twistedcaldav.directory.wiki#debug] Wiki ACL result: user
    [C1EF4B6C-178A-4937-A8D3-AF535400FC3F], wiki [servicedepartment],
    access [read]
    In this case the group is servicedepartment and the user is blahblah, who I just added using an admin to the group as a read/write user.
    So the question is this- is there a way that I can use the command line to verify and or change permissions for users if this happens in the future? I am really digging the calendaring and wiki features, but I cannot recommend them for use by the company if their accounts stop working all of a sudden…
    Many thanks for any tips!

    Turns out they didn't change themselves, but authentication got out of whack. This post fixed it for me, but I just jogged access on ical and blogs. Not sure which or both is needed, but after I toggled them over and back I was up and running again.
    <SNIP>
    Solution found athttp://michaeljin.wordpress.com/2010/01/05/locked-out-of-mac-os-x-server/
    It’s blog update time! Updates have been a little scarce lately, been super busy with getting trophies on PS3
    Anyway, recently encountered the following with a Mac mini server running Snow Leopard Server:
    Despite being able to ARD / Screenshare the Mac mini, I was unable to get any further than the login window. Authentication credentials are obviously valid. No weird access permissions have been set. However, the weird thing was, I can connect to the server via Server Admin tools (from another Mac) and all other services were running without a hitch.
    After much head scratching it turns out to be a sACL (Service Access Control List) issue.
    This thread solved the mystery!
    http://discussions.apple.com/thread.jspa?threadID=1654864
    To save you the trouble, I’ll lay it out here. I cannot take credit for this, but Randall can!
    Open Server Admin on a computer (any), and connect with the local admin to the machine.
    Select the server and authenticate.
    Select Settings, then go to Access. You’ll want to make sure that Login Window and SSH have the local admin account listed if you select the option to “Allow only these users”. For now, I would suggest making sure all services have “Allow all users and groups” selected.
    If (as in my case) it was set to Allow All in the first place, simply toggle the settings – back and forth.
    Save.
    Try logging in again… should be a good one!
    </SNIP>

Maybe you are looking for