Thank you very much for the tip Gustaf. It seems to be working right now. However, I had to put it mannually, instead of using the following instruction, in the end of config.tcl file:
if {[ns_info version] >= 4.5} {
ns_limits set default -maxupload [ns_config ns/server/${server}/module/nssock maxinput]
}
This instruction broke the initialization of AOLServer. I had to put the same code you supplied me:
ns_limits set default -maxupload [expr {$max_file_upload_mb * 1024 * 1024}]
Maybe you should change the config.tcl file in HEAD.