Writing up always takes longer than you think! However, it helps to have a deadline in mind, either sn official one or one you set yourself as this will help you focus. It's a tough time, especially if you are a perfectionist. Try to be guided by your supervisors, if they think a chapter is good enough, then consider it finished and move on. Good luck, you will get there! :o)