# redirectServers - Server not redirected

**URL:** <https://root-forum.cern.ch/t/redirectservers-server-not-redirected/64612>\
**Category:** Roofit and RooStats\
**Created:** [January 24, 2026, 6:00pm UTC](https://root-forum.cern.ch/t/redirectservers-server-not-redirected/64612 "2026-01-24T18:00:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rishabh\_Mehta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/rishabh_mehta/32/38359_2.png) [@Rishabh\_Mehta](https://root-forum.cern.ch/u/Rishabh_Mehta)\
**Post date:** [January 24, 2026, 6:00pm UTC](https://root-forum.cern.ch/t/redirectservers-server-not-redirected/64612/1 "2026-01-24T18:00:49Z")

</div>

I have a pdf which is a convolution of an exponential with a resolution function (RooBDecay). I create an NLL from this and use it to fit. The fitting portion is fine, however, when I try to use this NLL for any other purposes (eg plotting or importing it to a workspace), I get hit with a redirectServers error which says that the resolution function could not be redirected:

`[#0] ERROR:LinkStateMgmt – RooAbsArg::redirectServers(0x55fc1c8fd080,sc_pdf_btag): server res_core (0x55fc0921c4f0) not redirected`

What could be done to resolve this? I am saving all my pdfs in a RooWorkspace and loading them if it helps.

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [January 25, 2026, 7:14am UTC](https://root-forum.cern.ch/t/redirectservers-server-not-redirected/64612/2 "2026-01-25T07:14:10Z")

</div>

Hi,

Could you please provide a reproducer for the issue and share with us which version of ROOT you are using? We can then decide whether an issue on our tracker [GitHub · Where software is built](https://github.com/root-project/root/issues) is in order.

Thanks!

Cheers,  
D

---

<div class="post-metadata">

**Author:** ![Rishabh\_Mehta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/rishabh_mehta/32/38359_2.png) [@Rishabh\_Mehta](https://root-forum.cern.ch/u/Rishabh_Mehta)\
**Post date:** [January 25, 2026, 9:17am UTC](https://root-forum.cern.ch/t/redirectservers-server-not-redirected/64612/3 "2026-01-25T09:17:01Z")

</div>

Hi!

I am attaching a MWE and an example dataset. This code fails in ROOT version 6.34.04 with the aforementioned error.

Thanks and regards,  
Rishabh

[mwe\_data.root](https://root-forum.cern.ch/uploads/short-url/k2m52L3Nwqmpqp6DjSbRUsyKd3O.root) (14.0 KB)

[mwe.py](https://root-forum.cern.ch/uploads/short-url/wWMyIwJ8zWZ4XAA8nFkGYFNVyUr.py) (3.4 KB)

---

<div class="post-metadata">

**Author:** ![Rishabh\_Mehta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/rishabh_mehta/32/38359_2.png) [@Rishabh\_Mehta](https://root-forum.cern.ch/u/Rishabh_Mehta)\
**Post date:** [January 29, 2026, 9:02am UTC](https://root-forum.cern.ch/t/redirectservers-server-not-redirected/64612/4 "2026-01-29T09:02:17Z")

</div>

Hi!

This is a gentle reminder for this issue. Thanks!

---

<div class="post-metadata">

**Author:** ![jonas](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/jonas/32/24756_2.png) [@jonas](https://root-forum.cern.ch/u/jonas)\
**Post date:** [January 29, 2026, 12:01pm UTC](https://root-forum.cern.ch/t/redirectservers-server-not-redirected/64612/5 "2026-01-29T12:01:03Z")

</div>

Thank you for reporting this problem!

I have fixed it now in ROOT:

> <https://github.com/root-project/root/pull/21065>
>
> This follows up on 232a619f987f, where a unused server was removed when the RooA…bsAnaConvPdf is compiled for a given normalization set.
> 
> Unfortunately, servers can't be meaningfully removed because it \*\*always\*\* results in a server-proxy-desync problem. If a server is removed, the corresponding \`RooArgProxy\` stays around as a data member of the RooAbsAnaConvPdf. When you then copy the RooAbsAnaConvPdf, the seemingly removed server is resurrected implicitly in the copy constructor of the the proxy, which leads to the confusing situation that a copy has a different server structure from the original.
> 
> This will then confuse the server redirection when deep-cloning RooAbsArgs, manifesting in a problem reported on the forum, which is fixed by this commit:
> 
> https://root-forum.cern.ch/t/redirectservers-server-not-redirected/64612/4
> 
> All other use of \`RooAbsArg::removeServer()\` outside the RooAbsArg destructor should also be reviewed to make sure that similar problems don't hide in other parts of the code. We should also consider deprecating that function from the public user interface, together with \`RooAbsArg::replaceServer()\`, which has the same problem.

I’ll also backport it to the ROOT 6.38 and 6.36 patch release branches, so you can benefit for this fix in the upcoming patch releases.

Cheers,  
Jonas

---

<div class="post-metadata">

**Author:** ![Rishabh\_Mehta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/rishabh_mehta/32/38359_2.png) [@Rishabh\_Mehta](https://root-forum.cern.ch/u/Rishabh_Mehta)\
**Post date:** [January 29, 2026, 7:28pm UTC](https://root-forum.cern.ch/t/redirectservers-server-not-redirected/64612/6 "2026-01-29T19:28:42Z")

</div>

Dear Jonas,

Thanks a lot for looking into this and providing a solution.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [February 12, 2026, 7:28pm UTC](https://root-forum.cern.ch/t/redirectservers-server-not-redirected/64612/7 "2026-02-12T19:28:57Z")

</div>

Closed on February 12, 2026, 7:28pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
