Hi Olu,
I got smashed by this when upgrading to NT6 last year, and then to NT7 this week.
What I had to do:
1. Break apart my webserver procedure into a couple of sub-webserver-apps along with the main.
** important to remember when doing this, you need to declare ALL the procedures in the sub apps in the main webserver exe. All of them. ALL!
2. Sort the clw files by size and find the ones over ~1450 .. This seems to be the limit, at least for me.
3. When I find those clws, work out what procedures are there, and separate them out.
4. If this doesn't work, then redistribute procs into lots of 10, then do 2-3 again.
With the segdef error can also come a "not enough space" error, which usually means disk space, but for me was hitting the clarion limit (i think).