You need to give us some basic information... you have basically said, "it doesn't work" with no other info.
Which operating system is this? Which version of PHP? Which database and which version? How did you install Moodle?
What have you done to investigate this? Have you checked memory usage while the system is "hung"?