From: Steve V. <vi...@ie...> - 2011-05-23 04:29:00
|
Unfortunately that means there are one or more processes executing in the module you're trying to reload. Yaws attempts a soft purge of a module when trying to reload it, but soft_purge won't kill any processes using the old module but instead just raises the error you're seeing. Based on our off-list email you're not running yaws on a distributed erlang node, otherwise you could remotely shell in from another node and reload it manually, so unless you can think of a way to send a message of some sort to the system that could have the side effect of dislodging the processes from that module, unfortunately I think you're stuck having to restart yaws. --steve On Sun, May 22, 2011 at 11:57 PM, Michal D. <mic...@gm...> wrote: > Hi Marutha, > > Unfortunately I get an error result: > > {cannot_purge,[prewix]} > > Any further suggestions? > > On Sun, May 22, 2011 at 8:21 PM, Marutha <mar...@gm...> wrote: >> Hi, >> >> You can do that via ctl functions. >> >> $yaws --load <modulename> >> >> you would get some result as below result like below >> >> [{module,name}] >> or >> [{error,enofile}] >> >> Thanks, >> Marutha >> On Mon, May 23, 2011 at 03:29, Michal D. <mic...@gm...> wrote: >>> >>> Hi, >>> >>> Is there a way to reload an updated .beam file that is in the ebin >>> folder specified by yaws.conf? >>> >>> I've tried updating .yaws files that reference code in the .beam file >>> as well as 'yaws -h' but to no avail! >>> >>> Thanks, >>> >>> Mike >>> >>> >>> ------------------------------------------------------------------------------ >>> What Every C/C++ and Fortran developer Should Know! >>> Read this article and learn how Intel has extended the reach of its >>> next-generation tools to help Windows* and Linux* C/C++ and Fortran >>> developers boost performance applications - including clusters. >>> http://p.sf.net/sfu/intel-dev2devmay >>> _______________________________________________ >>> Erlyaws-list mailing list >>> Erl...@li... >>> https://lists.sourceforge.net/lists/listinfo/erlyaws-list >> >> > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Erlyaws-list mailing list > Erl...@li... > https://lists.sourceforge.net/lists/listinfo/erlyaws-list > |